diff options
author | marha <marha@users.sourceforge.net> | 2009-12-08 22:44:09 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-08 22:44:09 +0000 |
commit | 610854e9a57f1a7d7dbfdef90d35f60fde7c6413 (patch) | |
tree | bcd51b5d4d6e708df363c5deeb7be713e58dc443 /xorg-server/hw/xwin/glx/glwindows.h | |
parent | ee49b108be991a90e1fd1670c52193433a7fb908 (diff) | |
download | vcxsrv-610854e9a57f1a7d7dbfdef90d35f60fde7c6413.tar.gz vcxsrv-610854e9a57f1a7d7dbfdef90d35f60fde7c6413.tar.bz2 vcxsrv-610854e9a57f1a7d7dbfdef90d35f60fde7c6413.zip |
DC should only be released after the context is not current anymore on opengl
Diffstat (limited to 'xorg-server/hw/xwin/glx/glwindows.h')
-rw-r--r-- | xorg-server/hw/xwin/glx/glwindows.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/glx/glwindows.h b/xorg-server/hw/xwin/glx/glwindows.h index 0f1d7689a..72278df30 100644 --- a/xorg-server/hw/xwin/glx/glwindows.h +++ b/xorg-server/hw/xwin/glx/glwindows.h @@ -49,7 +49,7 @@ const GLubyte* glGetStringWrapperNonstatic(GLenum name); void glAddSwapHintRectWINWrapperNonstatic(GLint x, GLint y, GLsizei width, GLsizei height); void glWinSetupDispatchTable(void); -#if 1 +#ifdef _DEBUG #ifdef _MSC_VER #define GLWIN_TRACE_MSG(msg, ...) if (glxWinDebugSettings.enableTrace) ErrorF(msg " [%s:%d]\n" , __VA_ARGS__ , __FUNCTION__, __LINE__ ) #define GLWIN_DEBUG_MSG(msg, ...) if (glxWinDebugSettings.enableDebug) ErrorF(msg " [%s:%d]\n" , __VA_ARGS__ , __FUNCTION__, __LINE__ ) |