]> git.jsancho.org Git - lugaru.git/blobdiff - Source/gamegl.h
Force a double-buffered GL context.
[lugaru.git] / Source / gamegl.h
index 6f130c112feae2e7e536c780b6e1c0cf3d70d363..25f658952008d54002627454b7b83131758e0435 100644 (file)
@@ -10,7 +10,8 @@
 #include <string>
 
 #ifndef WIN32
-  #if PLATFORM_LINUX
+  #if PLATFORM_UNIX
+    #define GL_GLEXT_PROTOTYPES
     #include "gl.h"
     #include "glu.h"
     #include "glext.h"
@@ -52,3 +53,4 @@ using namespace std;
 
 #endif
 
+