EGL OpenGL window.

This commit is contained in:
yunfeibai
2017-02-06 16:22:17 -08:00
parent 7e08e960a1
commit c92fd6120d
8 changed files with 223 additions and 132 deletions

View File

@@ -31,13 +31,17 @@ float shadowMapWorldSize=10;
#ifndef __APPLE__
#ifndef glVertexAttribDivisor
#ifndef NO_GLEW
#define glVertexAttribDivisor glVertexAttribDivisorARB
#endif //NO_GLEW
#endif //glVertexAttribDivisor
#ifndef GL_COMPARE_REF_TO_TEXTURE
#define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE
#endif //GL_COMPARE_REF_TO_TEXTURE
#ifndef glDrawElementsInstanced
#ifndef NO_GLEW
#define glDrawElementsInstanced glDrawElementsInstancedARB
#endif //NO_GLEW
#endif
#endif //__APPLE__
#include "GLInstancingRenderer.h"