Previous commit 37e13361f5 caused glfwinfo.c to not compile correctly on my computer. This is an attempt to fix that. Now everything compiles OK.

This commit is contained in:
msmith 2015-08-07 14:47:19 +01:00
parent f8395886d3
commit 61c87acb33

View File

@ -118,10 +118,13 @@ extern "C" {
#include <OpenGL/gl3ext.h>
#endif
#elif !defined(GLFW_INCLUDE_NONE)
#if !defined(GLFW_INCLUDE_GLEXT)
#if defined(GLFW_INCLUDE_GLEXT)
#define GL_GLEXT_LEGACY
#endif
#include <OpenGL/gl.h>
#if defined(GLFW_INCLUDE_GLEXT)
#include<GL/glext.h>
#endif
#endif
#if defined(GLFW_INCLUDE_GLU)
#include <OpenGL/glu.h>