From 931347e731161f0564197635812c08fe6e084c00 Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Thu, 31 Jul 2014 13:00:44 -0700 Subject: [PATCH] Fixes compilation warnings --- spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp | 2 +- spine-cocos2dx/3.2/example/Classes/AppMacros.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp b/spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp index cfcfd1f67..f78d409af 100644 --- a/spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp +++ b/spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp @@ -20,7 +20,7 @@ bool AppDelegate::applicationDidFinishLaunching () { auto director = Director::getInstance(); auto glview = director->getOpenGLView(); if(!glview) { - glview = GLView::create("My Game"); + glview = GLView::create("Spine Example"); director->setOpenGLView(glview); } diff --git a/spine-cocos2dx/3.2/example/Classes/AppMacros.h b/spine-cocos2dx/3.2/example/Classes/AppMacros.h index 3f3a06e0e..467f4d61b 100644 --- a/spine-cocos2dx/3.2/example/Classes/AppMacros.h +++ b/spine-cocos2dx/3.2/example/Classes/AppMacros.h @@ -44,13 +44,13 @@ static Resource largeResource = {cocos2d::Size(1024, 768), "ipad"}; static Resource extralargeResource = {cocos2d::Size(2048, 1536), "ipad-retina"}; #if (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_480X320) -static cocos2d::CCSize designResolutionSize = cocos2d::Size(480, 320); +static cocos2d::Size designResolutionSize = cocos2d::Size(480, 320); #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_960x640) -static cocos2d::CCSize designResolutionSize = cocos2d::Size(960, 640); +static cocos2d::Size designResolutionSize = cocos2d::Size(960, 640); #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_1024X768) -static cocos2d::CCSize designResolutionSize = cocos2d::Size(1024, 768); +static cocos2d::Size designResolutionSize = cocos2d::Size(1024, 768); #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_2048X1536) -static cocos2d::CCSize designResolutionSize = cocos2d::Size(2048, 1536); +static cocos2d::Size designResolutionSize = cocos2d::Size(2048, 1536); #else #error unknown target design resolution! #endif