Index: sdl/sdl_glimp.c =================================================================== --- sdl/sdl_glimp.c (revision 2096) +++ sdl/sdl_glimp.c (working copy) @@ -748,6 +750,17 @@ // This depends on SDL_INIT_VIDEO, hence having it here IN_Init( ); + + qglColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + qglClearColor(0.0f, 0.0f, 0.0f, 1.0f); + qglClearDepth(1.0); + + qglDrawBuffer(GL_FRONT); + qglClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_ACCUM_BUFFER_BIT|GL_STENCIL_BUFFER_BIT); + + qglDrawBuffer(GL_BACK); + qglClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_ACCUM_BUFFER_BIT|GL_STENCIL_BUFFER_BIT); + }