diff --git a/core/platform/winrt/CCGLViewImpl-winrt.cpp b/core/platform/winrt/CCGLViewImpl-winrt.cpp index 8e8ed0c79e..a617575c16 100644 --- a/core/platform/winrt/CCGLViewImpl-winrt.cpp +++ b/core/platform/winrt/CCGLViewImpl-winrt.cpp @@ -75,7 +75,7 @@ GLViewImpl* GLViewImpl::create(std::string_view viewName) } GLViewImpl* GLViewImpl::createWithRect(std::string_view viewName, - const Rect& rect, float frameZoomFactor) + const Rect& rect, float frameZoomFactor, bool /*resizable*/) { auto ret = new GLViewImpl; if (ret && ret->initWithRect(viewName, rect, frameZoomFactor)) diff --git a/core/platform/winrt/CCGLViewImpl-winrt.h b/core/platform/winrt/CCGLViewImpl-winrt.h index 25673b1a4a..cf64a71a7d 100644 --- a/core/platform/winrt/CCGLViewImpl-winrt.h +++ b/core/platform/winrt/CCGLViewImpl-winrt.h @@ -48,7 +48,7 @@ class AX_DLL GLViewImpl : public GLView { public: static GLViewImpl* create(std::string_view viewName); - static GLViewImpl* createWithRect(std::string_view viewName, const Rect& rect, float frameZoomFactor = 1.0f); + static GLViewImpl* createWithRect(std::string_view viewName, const Rect& rect, float frameZoomFactor = 1.0f, bool resizable = false); static GLViewImpl* createWithFullScreen(std::string_view viewName); /* override functions */