Zebediah Figura : wined3d: Trace the SRGB flag in wined3d_texture_gl_prepare_texture().

Alexandre Julliard julliard at winehq.org
Wed Apr 27 16:12:11 CDT 2022


Module: wine
Branch: master
Commit: b587d02d1b3c4842b72aac134525d60c661562bb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b587d02d1b3c4842b72aac134525d60c661562bb

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Tue Apr 26 23:53:19 2022 -0500

wined3d: Trace the SRGB flag in wined3d_texture_gl_prepare_texture().

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/texture.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index 213a04fb496..ce283b05022 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -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)




More information about the wine-cvs mailing list