allow to compile and run the ExampleBrowser on older Mac OSX versions (without OpenGL3)
using the 'NO_OPENGL3' preprocessor definition both premake/cmake has support for this now needs some testing
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#ifndef NO_OPENGL3
|
||||
#include "opengl_fontstashcallbacks.h"
|
||||
#include "../OpenGLWindow/GLPrimitiveRenderer.h"
|
||||
#include "../OpenGLWindow/GLPrimInternalData.h"
|
||||
@@ -250,3 +251,5 @@ void dumpTextureToPng(int textureWidth, int textureHeight, const char* fileName)
|
||||
free(pixels);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user