Fix use of CADisplayLink on iOS
This commit is contained in:
@@ -134,7 +134,10 @@ class NativeApplication {
|
||||
#elseif lime_cffi
|
||||
|
||||
var result = lime_application_exec (handle);
|
||||
|
||||
#if (!emscripten && !ios && !nodejs)
|
||||
parent.onExit.dispatch (result);
|
||||
#end
|
||||
|
||||
return result;
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace lime {
|
||||
|
||||
Init ();
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#if defined(IPHONE) || defined(EMSCRIPTEN)
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ class ApplicationMain {
|
||||
|
||||
var result = app.exec ();
|
||||
|
||||
#if (sys && !nodejs && !emscripten)
|
||||
#if (sys && !ios && !nodejs && !emscripten)
|
||||
lime.system.System.exit (result);
|
||||
#end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user