Commits

wahrhaft committed 643e4c0

one more fix

  • Participants
  • Parent commits 0fbd394

Comments (0)

Files changed (1)

File src/wrapper/main.h

 #define MAIN_H
 
 #ifdef WIN32
+    #include <SDL_opengl.h>
     extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
     extern PFNGLATTACHOBJECTARBPROC glAttachObjectARB;
     extern PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT;
     extern PFNGLUSEPROGRAMOBJECTARBPROC glUseProgramObjectARB;
 #else
     #define GL_GLEXT_PROTOTYPES
+    #include <SDL_opengl.h>
 #endif
-#include <SDL_opengl.h>
+
 
 #include "../winlnxdefs.h"