Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr1NgleDev committed Mar 18, 2023
1 parent e1e82e8 commit 5bc1b21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/AppDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,10 @@ bool AppDelegate::applicationDidFinishLaunching()
glView->setDesignResolutionSize(569 - (glView->getFrameSize().height - 720), 320,
ResolutionPolicy::FIXED_HEIGHT);


#if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32) || (AX_TARGET_PLATFORM == AX_PLATFORM_MAC) || \
(AX_TARGET_PLATFORM == AX_PLATFORM_LINUX)

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

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

Expand Down

0 comments on commit 5bc1b21

Please sign in to comment.