mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
Android: Core part of the game should start in fullscreen by default (Thanks fizzwhiz)
This commit is contained in:
parent
0d656869a4
commit
d4214022b5
@ -687,6 +687,7 @@ void Game_Run(int width, int height, const cc_string* title) {
|
||||
/* Android won't let us change pixel surface to EGL surface */
|
||||
/* So unfortunately have to completely recreate the surface */
|
||||
if (!SwitchToGame()) return;
|
||||
Window_EnterFullscreen();
|
||||
#endif
|
||||
|
||||
Window_Create(width, height);
|
||||
|
@ -323,6 +323,7 @@ void Launcher_Run(void) {
|
||||
Http_Component.Free();
|
||||
|
||||
Program_Run(0, NULL);
|
||||
Window_ExitFullscreen();
|
||||
Window_RemakeSurface();
|
||||
Launcher_Run();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user