1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Remove _updateStates() call from OGLRender::clearDepthBuffer().

It seems to be useless here, plus it can break combiners work.

Fixed Fushigi no Dungeon - Fuurai no Shiren 2 black sky in intro #298
This commit is contained in:
Sergey Lipskiy 2015-03-18 16:58:15 +06:00
parent cc4b8a88e6
commit 1e2e2e980b

View File

@ -1224,7 +1224,6 @@ void OGLRender::clearDepthBuffer()
depthBufferList().clearBuffer();
_updateStates();
glDisable( GL_SCISSOR_TEST );
glDepthMask( TRUE );
glClear( GL_DEPTH_BUFFER_BIT );