Roderick Colenbrander : wgl: Move all winex11.drv opengl traces to wgl.

Alexandre Julliard julliard at winehq.org
Mon Mar 31 09:15:36 CDT 2008


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Sun Mar 30 22:21:03 2008 +0000

wgl: Move all winex11.drv opengl traces to wgl.

---

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

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index a61a116..b6b3fc7 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1045,7 +1045,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
         return 0;
     }
 
-    if (TRACE_ON(opengl)) {
+    if (TRACE_ON(wgl)) {
         TRACE("(%p,%p)\n", physDev, ppfd);
 
         dump_PIXELFORMATDESCRIPTOR(ppfd);
@@ -1388,7 +1388,7 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
 
   ppfd->iLayerType = PFD_MAIN_PLANE;
 
-  if (TRACE_ON(opengl)) {
+  if (TRACE_ON(wgl)) {
     dump_PIXELFORMATDESCRIPTOR(ppfd);
   }
 
@@ -1492,7 +1492,7 @@ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVICE *physDev,
 
   physDev->current_pf = iPixelFormat;
 
-  if (TRACE_ON(opengl)) {
+  if (TRACE_ON(wgl)) {
     int gl_test = 0;
 
     gl_test = pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_FBCONFIG_ID, &value);
@@ -1904,7 +1904,7 @@ static BOOL internal_wglUseFontBitmaps(HDC hdc, DWORD first, DWORD count, DWORD
              gl_bitmap = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
          }
          if (GetGlyphOutline_ptr(hdc, glyph, GGO_BITMAP, &gm, size, bitmap, NULL) == GDI_ERROR) goto error;
-         if (TRACE_ON(opengl)) {
+         if (TRACE_ON(wgl)) {
              unsigned int height, width, bitmask;
              unsigned char *bitmap_ = (unsigned char *) bitmap;
 




More information about the wine-cvs mailing list