mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6372 from twhittock/mac-application-retcodes
Returns correct value for Application::run on Mac platform
This commit is contained in:
commit
d868196aae
|
@ -66,7 +66,7 @@ int Application::run()
|
|||
{
|
||||
if(!applicationDidFinishLaunching())
|
||||
{
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
long lastTime = 0L;
|
||||
|
@ -105,7 +105,7 @@ int Application::run()
|
|||
|
||||
glview->release();
|
||||
|
||||
return true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Application::setAnimationInterval(double interval)
|
||||
|
|
Loading…
Reference in New Issue