From fb9270306b142ad9db63e243cadc2a70347bae33 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 29 Aug 2013 19:15:35 +0100 Subject: [PATCH] Fix initial window position being top left --- code/sdl/sdl_glimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c index f51596b2..ce85741c 100644 --- a/code/sdl/sdl_glimp.c +++ b/code/sdl/sdl_glimp.c @@ -200,7 +200,7 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder) Uint32 flags = SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL; SDL_DisplayMode desktopMode; int display = 0; - int x = 0, y = 0; + int x = SDL_WINDOWPOS_UNDEFINED, y = SDL_WINDOWPOS_UNDEFINED; ri.Printf( PRINT_ALL, "Initializing OpenGL display\n");