mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
add CCEGLView::setupWindow
This commit is contained in:
parent
11299df20c
commit
dc4f029bf3
2 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,7 @@ class cocos2d::CCEGLView {
|
|||
static cocos2d::CCEGLView* sharedOpenGLView() = mac 0x295320;
|
||||
virtual void swapBuffers() = mac 0x295510;
|
||||
void updateWindow(int width, int height);
|
||||
void setupWindow(cocos2d::CCRect);
|
||||
void toggleFullScreen(bool fullscreen);
|
||||
void pollEvents();
|
||||
void onGLFWCharCallback(GLFWwindow* window, unsigned int entered);
|
||||
|
|
|
@ -63,6 +63,8 @@ public:
|
|||
|
||||
protected:
|
||||
RT_REMOVE( virtual bool Create(); )
|
||||
void setupWindow(cocos2d::CCRect rect);
|
||||
|
||||
public:
|
||||
bool initGL();
|
||||
void destroyGL();
|
||||
|
|
Loading…
Reference in a new issue