Update cocos2dx/platform/mac/CCGL.h

add VAO support
This commit is contained in:
ningxu 2012-08-20 23:07:43 +08:00
parent e2140aea0b
commit 84a946f676
1 changed files with 6 additions and 0 deletions

View File

@ -30,4 +30,10 @@ THE SOFTWARE.
#define CC_GL_DEPTH24_STENCIL8 -1 #define CC_GL_DEPTH24_STENCIL8 -1
#define glDeleteVertexArrays glDeleteVertexArraysAPPLE
#define glGenVertexArrays glGenVertexArraysAPPLE
#define glBindVertexArray glBindVertexArrayAPPLE
#endif // __CCGL_H__ #endif // __CCGL_H__