diff --git a/bindings/Cocos2d.bro b/bindings/Cocos2d.bro index b26400b2..9217537d 100644 --- a/bindings/Cocos2d.bro +++ b/bindings/Cocos2d.bro @@ -318,7 +318,7 @@ class cocos2d::CCFileUtils : cocos2d::TypeInfo { class cocos2d::CCGLProgram { auto setUniformsForBuiltins() = mac 0x232c70; auto use() = mac 0x231d70; - bool compileShader(unsigned int* shader, unsigned int type, const char* source); + bool compileShader(unsigned int* shader, unsigned int type, const char* source) = mac 0x231a30; } [[link(win)]] @@ -1258,6 +1258,7 @@ class cocos2d { static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool) = mac 0xed0a0; static void ccDrawColor4B(GLubyte, GLubyte, GLubyte, GLubyte) = mac 0xeddd0; static void CCMessageBox(const char* msg, const char* title) = mac 0xbabc0; + static void ccGLUseProgram(GLuint program) = mac 0x1ae540; } [[link(win)]]