Commit 56de92d7 authored by Tomas Carnecky's avatar Tomas Carnecky Committed by Alexandre Julliard

opengl: Put OpenGL setup functions into their own debug channel.

parent f661e7a9
......@@ -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;
......
......@@ -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 */
......
......@@ -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 *physDev) {
return 0;
}
TRACE("(%p)\n", physDev);
TRACE_(opengl)("(%p)\n", physDev);
wine_tsx11_lock();
pglXSwapBuffers(gdi_display, physDev->drawable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment