add compileshader

This commit is contained in:
altalk23 2023-09-12 16:26:42 +03:00
parent a076f07fa5
commit 8f7f9a1146

View file

@ -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)]]