Merge pull request #6372 from twhittock/mac-application-retcodes

Returns correct value for Application::run on Mac platform
This commit is contained in:
James Chen 2014-04-25 17:19:51 +08:00
commit d868196aae
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ int Application::run()
{ {
if(!applicationDidFinishLaunching()) if(!applicationDidFinishLaunching())
{ {
return 0; return 1;
} }
long lastTime = 0L; long lastTime = 0L;
@ -105,7 +105,7 @@ int Application::run()
glview->release(); glview->release();
return true; return 0;
} }
void Application::setAnimationInterval(double interval) void Application::setAnimationInterval(double interval)