diff --git a/code/renderer/tr_gl2.cpp b/code/renderer/tr_gl2.cpp index c1c1422..4abb076 100644 --- a/code/renderer/tr_gl2.cpp +++ b/code/renderer/tr_gl2.cpp @@ -805,7 +805,8 @@ void GL2_EndFrame() // we disable depth test, depth write and blending GL_State( GLS_DEPTHTEST_DISABLE ); - qglScissor( 0, 0, glInfo.winWidth, glInfo.winHeight ); + qglViewport( 0, 0, glConfig.vidWidth, glConfig.vidHeight ); + qglScissor( 0, 0, glConfig.vidWidth, glConfig.vidHeight ); GL2_PostProcessGamma(); GL2_PostProcessGreyscale(); @@ -814,6 +815,9 @@ void GL2_EndFrame() // the above functions use qglBindTexture directly glState.texID[glState.currenttmu] = 0; + qglViewport (0, 0, glInfo.winWidth, glInfo.winHeight ); + qglScissor( 0, 0, glInfo.winWidth, glInfo.winHeight ); + GL2_FBO_BlitSSToBackBuffer(); }