wined3d: Trace the SRGB flag in wined3d_texture_gl_prepare_texture().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-04-26 23:53:19 -05:00 committed by Alexandre Julliard
parent 27e84c2897
commit b587d02d1b
1 changed files with 2 additions and 1 deletions

View File

@ -2096,7 +2096,8 @@ void wined3d_texture_gl_prepare_texture(struct wined3d_texture_gl *texture_gl,
const struct wined3d_format_gl *format_gl;
GLenum internal;
TRACE("texture_gl %p, context_gl %p, format %s.\n", texture_gl, context_gl, debug_d3dformat(format->id));
TRACE("texture_gl %p, context_gl %p, srgb %d, format %s.\n",
texture_gl, context_gl, srgb, debug_d3dformat(format->id));
if (!d3d_info->shader_color_key
&& !(texture_gl->t.async.flags & WINED3D_TEXTURE_ASYNC_COLOR_KEY)