Tomas Carnecky : opengl:
Put OpenGL setup functions into their own debug channel.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 27 05:29:02 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 56de92d795fa250c2a35d89189ce6543951333b7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=56de92d795fa250c2a35d89189ce6543951333b7
Author: Tomas Carnecky <tom at dbservice.com>
Date: Sat Mar 25 13:07:23 2006 +0100
opengl: Put OpenGL setup functions into their own debug channel.
---
dlls/opengl32/wgl.c | 5 +++--
dlls/opengl32/wgl_ext.c | 2 +-
dlls/x11drv/opengl.c | 5 +++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 71f7511..c7d3147 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -44,7 +44,8 @@
#include "wine/library.h"
#include "wine/debug.h"
-WINE_DEFAULT_DEBUG_CHANNEL(opengl);
+WINE_DEFAULT_DEBUG_CHANNEL(wgl);
+WINE_DECLARE_DEBUG_CHANNEL(opengl);
/** global glx object */
wine_glx_t wine_glx;
@@ -698,7 +699,7 @@ BOOL WINAPI wglShareLists(HGLRC hglrc1,
*/
BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
UINT fuPlanes) {
- TRACE("(%p, %08x)\n", hdc, fuPlanes);
+ TRACE_(opengl)("(%p, %08x)\n", hdc, fuPlanes);
if (fuPlanes & WGL_SWAP_MAIN_PLANE) {
if (!SwapBuffers(hdc)) return FALSE;
diff --git a/dlls/opengl32/wgl_ext.c b/dlls/opengl32/wgl_ext.c
index 24e990d..624a82c 100644
--- a/dlls/opengl32/wgl_ext.c
+++ b/dlls/opengl32/wgl_ext.c
@@ -37,7 +37,7 @@
#include "wine/library.h"
#include "wine/debug.h"
-WINE_DEFAULT_DEBUG_CHANNEL(opengl);
+WINE_DEFAULT_DEBUG_CHANNEL(wgl);
/* x11drv GDI escapes */
diff --git a/dlls/x11drv/opengl.c b/dlls/x11drv/opengl.c
index 3fc0231..ba125b9 100644
--- a/dlls/x11drv/opengl.c
+++ b/dlls/x11drv/opengl.c
@@ -28,7 +28,8 @@
#include "wine/library.h"
#include "wine/debug.h"
-WINE_DEFAULT_DEBUG_CHANNEL(opengl);
+WINE_DEFAULT_DEBUG_CHANNEL(wgl);
+WINE_DECLARE_DEBUG_CHANNEL(opengl);
#if defined(HAVE_GL_GL_H) && defined(HAVE_GL_GLX_H)
@@ -533,7 +534,7 @@ BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *
return 0;
}
- TRACE("(%p)\n", physDev);
+ TRACE_(opengl)("(%p)\n", physDev);
wine_tsx11_lock();
pglXSwapBuffers(gdi_display, physDev->drawable);
More information about the wine-cvs
mailing list