allow to build GLFW version of Bullet examples on Linux (use premake4_linux --enable_glfw gmake)

This commit is contained in:
Erwin Coumans
2018-02-20 16:21:22 -08:00
parent 01f58f8f02
commit 8bb40b632b
5 changed files with 12 additions and 0 deletions

View File

@@ -139,8 +139,10 @@ SimpleOpenGL2App::SimpleOpenGL2App(const char* title, int width, int height)
#ifndef NO_GLEW
#ifndef __APPLE__
#ifndef _WIN32
#ifndef B3_USE_GLFW
//some Linux implementations need the 'glewExperimental' to be true
glewExperimental = GL_TRUE;
#endif//B3_USE_GLFW
#endif //_WIN32
#ifndef B3_USE_GLFW