From 8db1528c7496bb36884ee93791091d5eb186e6cd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 30 Dec 2012 23:19:38 +0100 Subject: [PATCH] Added explicit disabling of platform glext.h. --- src/internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/internal.h b/src/internal.h index 73bb6fcd..b86c4611 100644 --- a/src/internal.h +++ b/src/internal.h @@ -58,6 +58,10 @@ typedef struct _GLFWlibrary _GLFWlibrary; #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" // This path may need to be changed if you build GLFW using your own setup