mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 17:47:12 -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 */
|
/* Android won't let us change pixel surface to EGL surface */
|
||||||
/* So unfortunately have to completely recreate the surface */
|
/* So unfortunately have to completely recreate the surface */
|
||||||
if (!SwitchToGame()) return;
|
if (!SwitchToGame()) return;
|
||||||
|
Window_EnterFullscreen();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Window_Create(width, height);
|
Window_Create(width, height);
|
||||||
|
@ -323,6 +323,7 @@ void Launcher_Run(void) {
|
|||||||
Http_Component.Free();
|
Http_Component.Free();
|
||||||
|
|
||||||
Program_Run(0, NULL);
|
Program_Run(0, NULL);
|
||||||
|
Window_ExitFullscreen();
|
||||||
Window_RemakeSurface();
|
Window_RemakeSurface();
|
||||||
Launcher_Run();
|
Launcher_Run();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user