Update AppDelegate.cpp

#883
This commit is contained in:
aismann 2022-10-07 15:21:07 +02:00 committed by GitHub
parent a4698809f2
commit be406badfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -34,10 +34,10 @@
USING_NS_AX;
static axis::Size designResolutionSize = axis::Size(1280, 720);
static axis::Size smallResolutionSize = axis::Size(480, 320);
static axis::Size mediumResolutionSize = axis::Size(1024, 768);
static axis::Size largeResolutionSize = axis::Size(2048, 1536);
static ax::Size designResolutionSize = ax::Size(1280, 720);
static ax::Size smallResolutionSize = ax::Size(480, 320);
static ax::Size mediumResolutionSize = ax::Size(1024, 768);
static ax::Size largeResolutionSize = ax::Size(2048, 1536);
AppDelegate::AppDelegate() {}
@ -67,8 +67,8 @@ bool AppDelegate::applicationDidFinishLaunching()
auto glView = director->getOpenGLView();
if (!glView)
{
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || \
(CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
#if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32) || (AX_TARGET_PLATFORM == AX_PLATFORM_MAC) || \
(AX_TARGET_PLATFORM == AX_PLATFORM_LINUX)
glView = GLViewImpl::createWithRect(
"HelloCpp", axis::Rect(0, 0, designResolutionSize.width, designResolutionSize.height));
#else