Added explicit disabling of platform glext.h.

This commit is contained in:
Camilla Berglund 2012-12-30 23:19:38 +01:00
parent 9e9457767f
commit 8db1528c74

View File

@ -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