mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
add compileShader to broma
This commit is contained in:
parent
1b77582242
commit
adf1a361a2
2 changed files with 3 additions and 2 deletions
|
@ -318,6 +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);
|
||||
}
|
||||
|
||||
[[link(win)]]
|
||||
|
@ -1277,4 +1278,4 @@ class pugi::xml_document {
|
|||
~xml_document() = mac 0x393b50;
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
// clang-format on
|
||||
|
|
|
@ -271,7 +271,7 @@ public:
|
|||
*/
|
||||
inline const GLuint getProgram() { return m_uProgram; }
|
||||
|
||||
protected:
|
||||
private:
|
||||
bool updateUniformLocation(GLint location, GLvoid* data, unsigned int bytes);
|
||||
const char* description();
|
||||
bool compileShader(GLuint * shader, GLenum type, const GLchar* source);
|
||||
|
|
Loading…
Reference in a new issue