fixed the OGL state not being properly (re)set at the start of GL2_EndFrame

This commit is contained in:
myT 2017-10-29 07:01:54 +01:00
parent fdf6636153
commit 31167156ac

View file

@ -779,6 +779,11 @@ void GL2_EndFrame()
if ( frameBufferMultiSampling )
GL2_FBO_BlitMSToSS();
// this call is needed because there is no insurance for
// what the state might be right now
// we disable depth test, depth write and blending
GL_State( GLS_DEPTHTEST_DISABLE );
GL2_PostProcessGamma();
GL2_PostProcessGreyscale();