summaryrefslogtreecommitdiff
path: root/src/graphics/OpenGLGraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/OpenGLGraphics.cpp')
-rw-r--r--src/graphics/OpenGLGraphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graphics/OpenGLGraphics.cpp b/src/graphics/OpenGLGraphics.cpp
index b6dbe7f..4167305 100644
--- a/src/graphics/OpenGLGraphics.cpp
+++ b/src/graphics/OpenGLGraphics.cpp
@@ -1,14 +1,15 @@
#include "Graphics.h"
#include "font.h"
#include <pthread.h>
+#ifdef GetUserName
#undef GetUserName //God dammit microsoft!
-
+#endif
#ifdef OGLI
static pthread_mutex_t gMutex = PTHREAD_MUTEX_INITIALIZER;
Graphics::Graphics():
-sdl_scale(1)
+ sdl_scale(1)
{
if(gMutex == PTHREAD_MUTEX_INITIALIZER)
pthread_mutex_init (&gMutex, NULL);