diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c index 1f12fb72..df201686 100644 --- a/code/sdl/sdl_glimp.c +++ b/code/sdl/sdl_glimp.c @@ -462,6 +462,10 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder) continue; } + qglClearColor( 0, 0, 0, 1 ); + qglClear( GL_COLOR_BUFFER_BIT ); + SDL_GL_SwapWindow( SDL_window ); + SDL_GL_SetSwapInterval( r_swapInterval->integer ); glConfig.colorBits = testColorBits;