From d8ab1e28a1a7c85bacb3c294e908a3252f211f0f Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 29 Aug 2013 19:15:35 +0100 Subject: Fix initial window position being top left --- src/sdl/sdl_glimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sdl/sdl_glimp.c') diff --git a/src/sdl/sdl_glimp.c b/src/sdl/sdl_glimp.c index ffd2719f..34d24a15 100644 --- a/src/sdl/sdl_glimp.c +++ b/src/sdl/sdl_glimp.c @@ -208,7 +208,7 @@ static int GLimp_SetMode( qboolean failSafe, qboolean fullscreen, qboolean nobor 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"); -- cgit