summaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-08-29 19:15:35 +0100
committerTim Angus <tim@ngus.net>2014-08-28 11:03:18 +0100
commitd8ab1e28a1a7c85bacb3c294e908a3252f211f0f (patch)
tree5af57c4bf89a3abc3b005e35f55c10e3d9a3382c /src/sdl
parent675c6f2daa7ba85d6e5cddbcbfdd01aaaa8c3601 (diff)
Fix initial window position being top left
Diffstat (limited to 'src/sdl')
-rw-r--r--src/sdl/sdl_glimp.c2
1 files changed, 1 insertions, 1 deletions
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");