Skip to content

Commit

Permalink
Change GL include in scons check so it actually works under mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Jun 1, 2018
1 parent 575e104 commit f53237b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scons/gl.py
Expand Up @@ -9,7 +9,7 @@ def CheckOpenGL(context):

if env["PLATFORM"] == "win32":
env.AppendUnique(LIBS = ["opengl32"])
test_program += "#include <GL/opengl32.h>\n"
test_program += "#include <windows.h>\n#include <GL/gl.h>\n"
elif env["PLATFORM"] == "darwin":
env.AppendUnique(FRAMEWORKS = "OpenGL")
test_program += "#include <OpenGL/gl.h>\n"
Expand Down

0 comments on commit f53237b

Please sign in to comment.