mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
SDL2: Fix can't exit fullscreen
This commit is contained in:
parent
c552004211
commit
1ac30e0338
@ -144,7 +144,10 @@ int Window_GetWindowState(void) {
|
||||
cc_result Window_EnterFullscreen(void) {
|
||||
return SDL_SetWindowFullscreen(win_handle, SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
}
|
||||
cc_result Window_ExitFullscreen(void) { SDL_RestoreWindow(win_handle); return 0; }
|
||||
|
||||
cc_result Window_ExitFullscreen(void) {
|
||||
return SDL_SetWindowFullscreen(win_handle, 0);
|
||||
}
|
||||
|
||||
int Window_IsObscured(void) { return 0; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user