From 2dd7659884e84108603e9586d25961ededdc5cd8 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 9 Aug 2022 09:29:30 -0400
Subject: [PATCH] test: Fixed wrong arguments to SDL_SetWindowFullscreen.
---
src/test/SDL_test_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index c86742cd43d..1dc97937ae2 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -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