diff --git a/engine/platform/sdl/vid_sdl.c b/engine/platform/sdl/vid_sdl.c index e1f70e86..aad4483d 100644 --- a/engine/platform/sdl/vid_sdl.c +++ b/engine/platform/sdl/vid_sdl.c @@ -795,7 +795,7 @@ qboolean VID_CreateWindow( int width, int height, window_mode_t window_mode ) else SetBits( wndFlags, SDL_WINDOW_FULLSCREEN_DESKTOP ); SetBits( wndFlags, SDL_WINDOW_BORDERLESS ); - xpos = ypos = 0; + xpos = ypos = SDL_WINDOWPOS_UNDEFINED; } if( !VID_CreateWindowWithSafeGL( wndname, xpos, ypos, width, height, wndFlags ))