test: Fixed wrong arguments to SDL_SetWindowFullscreen.

main
Ryan C. Gordon 2022-08-09 09:29:30 -04:00
parent 07b0ec539f
commit 2dd7659884
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 2 additions and 2 deletions

View File

@ -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