removed fullscreen flag
This commit is contained in:
parent
8f7b17a305
commit
b2f46349ca
|
@ -57,7 +57,6 @@ static struct
|
||||||
Net* net;
|
Net* net;
|
||||||
|
|
||||||
bool missedFrame;
|
bool missedFrame;
|
||||||
bool fullscreen;
|
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
@ -884,8 +883,7 @@ static u64 getPerformanceFrequency()
|
||||||
|
|
||||||
static void goFullscreen()
|
static void goFullscreen()
|
||||||
{
|
{
|
||||||
platform.fullscreen = !platform.fullscreen;
|
SDL_SetWindowFullscreen(platform.window, SDL_GetWindowFlags(platform.window) & SDL_WINDOW_FULLSCREEN_DESKTOP ? 0 : SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||||
SDL_SetWindowFullscreen(platform.window, platform.fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void showMessageBox(const char* title, const char* message)
|
static void showMessageBox(const char* title, const char* message)
|
||||||
|
|
Loading…
Reference in New Issue