mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-01-22 08:21:48 +00:00
fixed the OGL state not being properly (re)set at the start of GL2_EndFrame
This commit is contained in:
parent
fdf6636153
commit
31167156ac
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue