fix some incompatibilities between google3/third_party/GL,EGL, glad

This commit is contained in:
Erwin Coumans
2018-05-03 09:06:30 -07:00
parent 4a8ad1a54e
commit 0c706eb08a
5 changed files with 21 additions and 7 deletions

View File

@@ -22,7 +22,13 @@
#include "third_party/GL/gl/include/GL/gl.h"
#include "third_party/GL/gl/include/GL/glext.h"
#else
#ifdef BT_NO_GLAD
#include <GL/glew.h>
#else
#include "glad/glad.h"
#endif
#endif //NO_GLEW
#endif //GLEW_STATIC
#endif//(__APPLE__)