diff options
author | marha <marha@users.sourceforge.net> | 2009-11-20 13:01:45 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-11-20 13:01:45 +0000 |
commit | d2d9977f1153b5222b34859a2cb22b957bfe3221 (patch) | |
tree | a732c0c90bbd06bbf003e23a3ec08300e154a51d /xorg-server/hw/xwin/glx/glwindows.h | |
parent | da051c6af428703e746c6a1677e1dce032b86c41 (diff) | |
download | vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.gz vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.bz2 vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.zip |
Native glx is compiling and running now (although no acceleration is happening... to be investigated further)
Diffstat (limited to 'xorg-server/hw/xwin/glx/glwindows.h')
-rw-r--r-- | xorg-server/hw/xwin/glx/glwindows.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/glx/glwindows.h b/xorg-server/hw/xwin/glx/glwindows.h index cc3f2e6ee..0f1d7689a 100644 --- a/xorg-server/hw/xwin/glx/glwindows.h +++ b/xorg-server/hw/xwin/glx/glwindows.h @@ -50,8 +50,14 @@ void glAddSwapHintRectWINWrapperNonstatic(GLint x, GLint y, GLsizei width, GLsiz void glWinSetupDispatchTable(void); #if 1 +#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__ ) +#else #define GLWIN_TRACE_MSG(msg, args...) if (glxWinDebugSettings.enableTrace) ErrorF(msg " [%s:%d]\n" , ##args , __FUNCTION__, __LINE__ ) #define GLWIN_DEBUG_MSG(msg, args...) if (glxWinDebugSettings.enableDebug) ErrorF(msg " [%s:%d]\n" , ##args , __FUNCTION__, __LINE__ ) +#endif + #else #define GLWIN_TRACE_MSG(a, ...) #define GLWIN_DEBUG_MSG(a, ...) |