mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
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:
parent
f8395886d3
commit
61c87acb33
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user