mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-12-18 16:29:06 +00:00
test: Fixed wrong arguments to SDL_SetWindowFullscreen.
This commit is contained in:
parent
07b0ec539f
commit
2dd7659884
@ -1808,12 +1808,12 @@ FullscreenTo(int index, int windowId)
|
||||
|
||||
flags = SDL_GetWindowFlags(window);
|
||||
if (flags & SDL_WINDOW_FULLSCREEN) {
|
||||
SDL_SetWindowFullscreen( window, SDL_FALSE );
|
||||
SDL_SetWindowFullscreen( window, 0);
|
||||
SDL_Delay( 15 );
|
||||
}
|
||||
|
||||
SDL_SetWindowPosition( window, rect.x, rect.y );
|
||||
SDL_SetWindowFullscreen( window, SDL_TRUE );
|
||||
SDL_SetWindowFullscreen( window, SDL_WINDOW_FULLSCREEN );
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user