fix setup.py and pybullet to work better with eglPlugin on Linux

This commit is contained in:
Erwin Coumans
2018-09-11 13:24:35 -07:00
parent 36c900e384
commit 23ecbab7b3
4 changed files with 201 additions and 223 deletions

View File

@@ -14,25 +14,10 @@
#include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h>
#else
#ifdef GLEW_STATIC
#include "glad/gl.h"
#else
#ifdef NO_GLEW
#define GL_GLEXT_LEGACY
#include "third_party/GL/gl/include/GL/gl.h"
#include "third_party/GL/gl/include/GL/glext.h"
#else
#endif//__APPLE__
#ifdef BT_NO_GLAD
#include <GL/glew.h>
#else
#include "glad/glad.h"
#endif
#endif //NO_GLEW
#endif //GLEW_STATIC
#endif//(__APPLE__)
#endif
#endif //B3_USE_GLFW
#include "FontData.h"