mirror of https://github.com/axmolengine/axmol.git
Merge pull request #5702 from dumganhar/glview-inherit-order
Changes the order of inheritance for GLView. Reason:
This commit is contained in:
commit
2ae283d506
|
@ -58,8 +58,6 @@ enum class ResolutionPolicy
|
|||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class EGLTouchDelegate;
|
||||
|
||||
/**
|
||||
* @addtogroup platform
|
||||
* @{
|
||||
|
|
|
@ -35,7 +35,7 @@ THE SOFTWARE.
|
|||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class CC_DLL GLView : public Ref, public GLViewProtocol
|
||||
class CC_DLL GLView : public GLViewProtocol, public Ref
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ THE SOFTWARE.
|
|||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class CC_DLL GLView : public Ref, public GLViewProtocol
|
||||
class CC_DLL GLView : public GLViewProtocol, public Ref
|
||||
{
|
||||
public:
|
||||
static GLView* create(const std::string& viewName);
|
||||
|
|
|
@ -38,7 +38,7 @@ NS_CC_BEGIN
|
|||
|
||||
/** Class that represent the OpenGL View
|
||||
*/
|
||||
class CC_DLL GLView : public Ref, public GLViewProtocol
|
||||
class CC_DLL GLView : public GLViewProtocol, public Ref
|
||||
{
|
||||
public:
|
||||
/** creates a GLView with a objective-c CCEAGLView instance */
|
||||
|
|
Loading…
Reference in New Issue