mirror of https://github.com/axmolengine/axmol.git
Fix #2161
This commit is contained in:
parent
c488380170
commit
1de06414cc
|
@ -600,7 +600,7 @@ bool GLViewImpl::initWithRect(std::string_view viewName, const ax::Rect& rect, f
|
|||
handleWindowSize(static_cast<int>(windowSize.width), static_cast<int>(windowSize.height));
|
||||
#else
|
||||
// sense retina
|
||||
setFrameSize(windowSize.width, windowSize.height);
|
||||
setFrameSize(windowSize.width / frameZoomFactor, windowSize.height / frameZoomFactor);
|
||||
#endif
|
||||
|
||||
glfwSetMouseButtonCallback(_mainWindow, GLFWEventHandler::onGLFWMouseCallBack);
|
||||
|
|
Loading…
Reference in New Issue