Roderick Colenbrander : wgl: Print the fbconfig fmt_id in ConvertPixelFormatWGLtoGLX instead of the meaningless pointer .

Alexandre Julliard julliard at winehq.org
Tue Apr 20 11:32:23 CDT 2010


Module: wine
Branch: master
Commit: 9eaab2cec11239c1bce2ae8dac03993684cf8020
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9eaab2cec11239c1bce2ae8dac03993684cf8020

Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date:   Tue Apr 20 12:13:26 2010 +0200

wgl: Print the fbconfig fmt_id in ConvertPixelFormatWGLtoGLX instead of the meaningless pointer.

---

 dlls/winex11.drv/opengl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index a3c4f6b..cf22f95 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1049,7 +1049,7 @@ static WineGLPixelFormat* ConvertPixelFormatWGLtoGLX(Display *display, int iPixe
     if((iPixelFormat > 0) && (iPixelFormat <= size) &&
        (!list[iPixelFormat-1].offscreenOnly || AllowOffscreen)) {
         res = &list[iPixelFormat-1];
-        TRACE("Returning FBConfig=%p for iPixelFormat=%d\n", res->fbconfig, iPixelFormat);
+        TRACE("Returning fmt_id=%#x for iPixelFormat=%d\n", res->fmt_id, iPixelFormat);
     }
 
     if(AllowOffscreen)




More information about the wine-cvs mailing list