Przeglądaj źródła

Added explicit disabling of platform glext.h.

Camilla Berglund 12 lat temu
rodzic
commit
8db1528c74
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      src/internal.h

+ 4 - 0
src/internal.h

@@ -58,6 +58,10 @@ typedef struct _GLFWlibrary     _GLFWlibrary;
 
 
 #include "config.h"
 #include "config.h"
 
 
+// Disable the inclusion of the platform glext.h by gl.h to allow proper
+// inclusion of our own, newer glext.h below
+#define GL_GLEXT_LEGACY
+
 #include "../include/GL/glfw3.h"
 #include "../include/GL/glfw3.h"
 
 
 // This path may need to be changed if you build GLFW using your own setup
 // This path may need to be changed if you build GLFW using your own setup