Skip to content

Commit 5bc1b21

Browse files
author
Tr1NgleDev
committed
a
1 parent e1e82e8 commit 5bc1b21

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Classes/AppDelegate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,10 @@ bool AppDelegate::applicationDidFinishLaunching()
148148
glView->setDesignResolutionSize(569 - (glView->getFrameSize().height - 720), 320,
149149
ResolutionPolicy::FIXED_HEIGHT);
150150

151-
152151
#if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32) || (AX_TARGET_PLATFORM == AX_PLATFORM_MAC) || \
153152
(AX_TARGET_PLATFORM == AX_PLATFORM_LINUX)
154153

155-
//glfwSetWindowAspectRatio(static_cast<GLViewImpl*>(glView)->getWindow(), 16, 9);
154+
glfwSetWindowAspectRatio(static_cast<GLViewImpl*>(glView)->getWindow(), 16, 9);
156155

157156
glfwSetWindowSizeCallback(static_cast<GLViewImpl*>(glView)->getWindow(), AppDelegate::onGLFWwindowSizeCallback);
158157

0 commit comments

Comments
 (0)