add aliases for VAOs

This commit is contained in:
Konstantin Käfer
2014-02-05 13:59:26 +01:00
parent f738a9e19e
commit b629f56f68

View File

@@ -14,6 +14,9 @@
#elif TARGET_OS_MAC
#include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h>
#define glGenVertexArrays glGenVertexArraysAPPLE
#define glBindVertexArray glBindVertexArrayAPPLE
#define glDeleteVertexArrays glDeleteVertexArraysAPPLE
#else
#error Unsupported Apple platform
#endif