From ce0ad6447593676eed5b8ac4c6b4d7a18d02c122 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Mon, 29 Sep 2014 10:37:39 -0700 Subject: [PATCH] fix max osx build --- Demos3/AllBullet2Demos/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demos3/AllBullet2Demos/main.cpp b/Demos3/AllBullet2Demos/main.cpp index 4ddd2442c..ce2c46db0 100644 --- a/Demos3/AllBullet2Demos/main.cpp +++ b/Demos3/AllBullet2Demos/main.cpp @@ -38,7 +38,7 @@ #include "OpenGLWindow/SimpleCamera.h" CommonGraphicsApp* app=0; - +#ifdef USE_OPENGL2 struct TestRenderer : public CommonRenderInterface { int m_width; @@ -193,7 +193,7 @@ struct TestRenderer : public CommonRenderInterface } }; - +#endif //USE_OPENGL2 b3gWindowInterface* s_window = 0; CommonParameterInterface* s_parameterInterface=0; CommonRenderInterface* s_instancingRenderer=0;