mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
add compileshader
This commit is contained in:
parent
a076f07fa5
commit
8f7f9a1146
1 changed files with 2 additions and 1 deletions
|
@ -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)]]
|
||||
|
|
Loading…
Reference in a new issue