Update iOS project and main

This commit is contained in:
scawful
2024-11-15 23:40:48 -05:00
parent 53c8667c48
commit cb7e8fc6ec
3 changed files with 3 additions and 6 deletions

View File

@@ -48,7 +48,6 @@
_controller = new yaze::app::core::Controller();
SDL_SetMainReady();
SDL_iOSSetEventPump(SDL_TRUE);
int argc = NSProcessInfo.processInfo.arguments.count;
@@ -68,9 +67,7 @@
// Enable native IME.
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
// TODO: Maybe allow HIGH DPI? If it improves touch.
if (!_controller->CreateSDL_Window().ok()) {
if (!_controller->CreateWindow().ok()) {
printf("Error creating window: %s\n", SDL_GetError());
abort();
}

View File

@@ -27,12 +27,12 @@
<key>yaze_ios.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>7</integer>
<integer>4</integer>
</dict>
<key>yaze_macos.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>5</integer>
<integer>7</integer>
</dict>
</dict>
</dict>