Add include gl.h and glu.h on windows

Without that you can't use functions with prefix glu* correctly on OS
Windows
This commit is contained in:
tashKent 2014-06-03 21:53:47 +03:00
parent c6e02c09ff
commit 67d2c567d3

View File

@ -202,6 +202,17 @@ extern "C" {
#endif
/* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
#if defined(__APPLE_CC__)
#include <OpenGL/gl.h>
#ifndef GLFW_NO_GLU
#include <OpenGL/glu.h>
#endif
#else
#include <GL/gl.h>
#ifndef GLFW_NO_GLU
#include <GL/glu.h>
#endif
#endif
/*************************************************************************