iOS GL specific API alias

This commit is contained in:
Konstantin Käfer
2014-03-04 11:33:56 +01:00
parent 2c9b766371
commit ba4ec7f8c7

View File

@@ -9,6 +9,7 @@
#define glGenVertexArrays glGenVertexArraysOES
#define glBindVertexArray glBindVertexArrayOES
#define glDeleteVertexArrays glDeleteVertexArraysOES
#define glClearDepth glClearDepthf
#elif TARGET_IPHONE_SIMULATOR
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>