mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-26 04:39:51 -04:00
fix CCEGLView custom ctor on windows
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
This commit is contained in:
parent
4c4be3657a
commit
d72797334f
1 changed files with 11 additions and 1 deletions
|
@ -45,7 +45,17 @@ protected:
|
|||
RT_ADD( virtual ~CCEGLView(); )
|
||||
public:
|
||||
CCEGLView();
|
||||
GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCEGLView, CCObject)
|
||||
|
||||
CCEGLView(geode::ZeroConstructorType, size_t fill) :
|
||||
CCEGLViewProtocol(geode::ZeroConstructor, fill),
|
||||
CCObject(geode::ZeroConstructor, fill - sizeof(CCEGLViewProtocol)) {}
|
||||
|
||||
CCEGLView(geode::ZeroConstructorType) :
|
||||
CCEGLViewProtocol(geode::ZeroConstructor, sizeof(CCEGLView)),
|
||||
CCObject(geode::ZeroConstructor, sizeof(CCEGLView) - sizeof(CCEGLViewProtocol)) {}
|
||||
|
||||
CCEGLView(geode::CutoffConstructorType, size_t fill) : CCEGLView() {}
|
||||
|
||||
RT_REMOVE( virtual ~CCEGLView(); )
|
||||
|
||||
/* override functions */
|
||||
|
|
Loading…
Add table
Reference in a new issue