Update iOS project and main
This commit is contained in:
@@ -48,7 +48,6 @@
|
|||||||
|
|
||||||
_controller = new yaze::app::core::Controller();
|
_controller = new yaze::app::core::Controller();
|
||||||
|
|
||||||
|
|
||||||
SDL_SetMainReady();
|
SDL_SetMainReady();
|
||||||
SDL_iOSSetEventPump(SDL_TRUE);
|
SDL_iOSSetEventPump(SDL_TRUE);
|
||||||
int argc = NSProcessInfo.processInfo.arguments.count;
|
int argc = NSProcessInfo.processInfo.arguments.count;
|
||||||
@@ -68,9 +67,7 @@
|
|||||||
|
|
||||||
// Enable native IME.
|
// Enable native IME.
|
||||||
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
|
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
|
||||||
|
if (!_controller->CreateWindow().ok()) {
|
||||||
// TODO: Maybe allow HIGH DPI? If it improves touch.
|
|
||||||
if (!_controller->CreateSDL_Window().ok()) {
|
|
||||||
printf("Error creating window: %s\n", SDL_GetError());
|
printf("Error creating window: %s\n", SDL_GetError());
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -27,12 +27,12 @@
|
|||||||
<key>yaze_ios.xcscheme_^#shared#^_</key>
|
<key>yaze_ios.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>7</integer>
|
<integer>4</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>yaze_macos.xcscheme_^#shared#^_</key>
|
<key>yaze_macos.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>5</integer>
|
<integer>7</integer>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
Reference in New Issue
Block a user