opengl: Put OpenGL setup functions into their own debug channel.
This commit is contained in:
parent
f661e7a924
commit
56de92d795
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue