add compileShader to broma

This commit is contained in:
ConfiG 2023-09-09 20:26:19 +03:00
parent 1b77582242
commit adf1a361a2
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B
2 changed files with 3 additions and 2 deletions

View file

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

View file

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