Roderick Colenbrander : wgl: Print more debug info.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 2 06:23:01 CDT 2007


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Wed Aug  1 16:22:54 2007 +0200

wgl: Print more debug info.

---

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

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index b3cbeef..61a521d 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -327,9 +327,12 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
     WineGLInfo.glxDirect = pglXIsDirect(gdi_display, ctx);
 
     TRACE("GL version             : %s.\n", WineGLInfo.glVersion);
+    TRACE("GL renderer            : %s.\n", pglGetString(GL_RENDERER));
     TRACE("GLX version            : %d.%d.\n", WineGLInfo.glxVersion[0], WineGLInfo.glxVersion[1]);
     TRACE("Server GLX version     : %s.\n", WineGLInfo.glxServerVersion);
+    TRACE("Server GLX vendor:     : %s.\n", pglXQueryServerString(gdi_display, screen, GLX_VENDOR));
     TRACE("Client GLX version     : %s.\n", WineGLInfo.glxClientVersion);
+    TRACE("Client GLX vendor:     : %s.\n", pglXGetClientString(gdi_display, GLX_VENDOR));
     TRACE("Direct rendering enabled: %s\n", WineGLInfo.glxDirect ? "True" : "False");
 
     if(vis) XFree(vis);




More information about the wine-cvs mailing list