From cedd0432bfe6789445e9031fcd8cd7b27e18ac53 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 7 May 2015 14:11:17 -0700 Subject: [PATCH] don't compile SimpleOpenGL3App if NO_OPENGL3 is defined --- examples/OpenGLWindow/SimpleOpenGL3App.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/OpenGLWindow/SimpleOpenGL3App.cpp b/examples/OpenGLWindow/SimpleOpenGL3App.cpp index 905383388..81466bec4 100644 --- a/examples/OpenGLWindow/SimpleOpenGL3App.cpp +++ b/examples/OpenGLWindow/SimpleOpenGL3App.cpp @@ -1,3 +1,5 @@ +#ifndef NO_OPENGL3 + #include "SimpleOpenGL3App.h" #include "ShapeData.h" #ifdef __APPLE__ @@ -774,5 +776,5 @@ int SimpleOpenGL3App::getUpAxis() const { return m_data->m_upAxis; } - +#endif//#ifndef NO_OPENGL3