mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 23:21:20 +02:00
Disable text input as startup
We're not handling any keyboard input at that point anyway.
This commit is contained in:
@@ -487,6 +487,8 @@ int main(int argc, char * argv[])
|
|||||||
|
|
||||||
SDLOpen();
|
SDLOpen();
|
||||||
|
|
||||||
|
StopTextInput();
|
||||||
|
|
||||||
ui::Engine::Ref().g = new Graphics();
|
ui::Engine::Ref().g = new Graphics();
|
||||||
ui::Engine::Ref().Scale = scale;
|
ui::Engine::Ref().Scale = scale;
|
||||||
ui::Engine::Ref().SetResizable(resizable);
|
ui::Engine::Ref().SetResizable(resizable);
|
||||||
|
@@ -871,6 +871,9 @@ int main(int argc, char * argv[])
|
|||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
StopTextInput();
|
||||||
|
|
||||||
ui::Engine::Ref().g = new Graphics();
|
ui::Engine::Ref().g = new Graphics();
|
||||||
ui::Engine::Ref().Scale = scale;
|
ui::Engine::Ref().Scale = scale;
|
||||||
ui::Engine::Ref().SetResizable(resizable);
|
ui::Engine::Ref().SetResizable(resizable);
|
||||||
|
Reference in New Issue
Block a user