From 8a4e939a1039d5af4128ab8e0fdab54cc948b116 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 7 Aug 2015 16:26:34 +0200 Subject: [PATCH] Fix glext.h regression in glfwinfo on OS X The glfwinfo program uses symbols not provided by the glext.h header in every development environment. Closes #572. --- tests/glfwinfo.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/glfwinfo.c b/tests/glfwinfo.c index 5083bbf6..b599fcde 100644 --- a/tests/glfwinfo.c +++ b/tests/glfwinfo.c @@ -23,9 +23,14 @@ // //======================================================================== -#define GLFW_INCLUDE_GLEXT #include +/* HACK: Explicitly include the glext.h shipping with GLFW, as this program uses + * many modern symbols not provided by the versions in some development + * environments (for example on OS X). + */ +#include + #include #include #include