fix compile on ios

This commit is contained in:
Konstantin Käfer
2014-05-22 12:28:19 +02:00
parent bb2cda34a7
commit 5bf52bfcd7
3 changed files with 30 additions and 21 deletions

View File

@@ -16,6 +16,7 @@
#define glBindVertexArray glBindVertexArrayOES
#define glDeleteVertexArrays glDeleteVertexArraysOES
#define GL_ARB_vertex_array_object 1
#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
#elif TARGET_IPHONE_SIMULATOR
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>