diff --git a/lime/tools/helpers/IOSHelper.hx b/lime/tools/helpers/IOSHelper.hx index 30ef7d152..9a46b7b25 100644 --- a/lime/tools/helpers/IOSHelper.hx +++ b/lime/tools/helpers/IOSHelper.hx @@ -229,17 +229,7 @@ class IOSHelper { var xcodeVersion = getXcodeVersion (); - if (xcodeVersion.charAt (0) == "4") { - - ProcessHelper.runCommand ("", launcher, [ "install", "--debug", "--timeout", "5", "--bundle", FileSystem.fullPath (applicationPath) ]); - - } else { - - // ios-deploy does not support debugging (running) installed applications with Xcode 5, since GDB was removed - - ProcessHelper.runCommand ("", launcher, [ "install", "--timeout", "5", "--bundle", FileSystem.fullPath (applicationPath) ]); - - } + ProcessHelper.runCommand ("", launcher, [ "install", "--noninteractive", "--debug", "--timeout", "5", "--bundle", FileSystem.fullPath (applicationPath) ]); } diff --git a/project/src/backend/sdl/SDLWindow.cpp b/project/src/backend/sdl/SDLWindow.cpp index 33fe03533..caa3a0426 100644 --- a/project/src/backend/sdl/SDLWindow.cpp +++ b/project/src/backend/sdl/SDLWindow.cpp @@ -16,7 +16,7 @@ namespace lime { currentApplication = application; this->flags = flags; - int sdlFlags = SDL_WINDOW_OPENGL; + int sdlFlags = SDL_WINDOW_OPENGL | SDL_GL_RETAINED_BACKING; if (flags & WINDOW_FLAG_FULLSCREEN) sdlFlags |= SDL_WINDOW_FULLSCREEN_DESKTOP; if (flags & WINDOW_FLAG_RESIZABLE) sdlFlags |= SDL_WINDOW_RESIZABLE; diff --git a/templates/bin/ios-deploy b/templates/bin/ios-deploy index a56623501..43d20d68c 100755 Binary files a/templates/bin/ios-deploy and b/templates/bin/ios-deploy differ