diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c
index aa17431c2264857f31ad8a131811c45485c62e87..1bda0e1804fde86a55b897dad032d0ad8bc2cb4e 100644
--- a/src/sdl/i_video.c
+++ b/src/sdl/i_video.c
@@ -194,7 +194,7 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen)
 			}
 			// Reposition window only in windowed mode
 			SDL_SetWindowSize(window, width, height);
-			SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED_DISPLAY(1), SDL_WINDOWPOS_CENTERED_DISPLAY(1));
+			SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
 		}
 	}
 	else