Skip to content

Commit a8a5211

Browse files
committed
Remove superfluous GL_State call
1 parent cb31501 commit a8a5211

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/engine/renderer/tr_backend.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,9 +830,6 @@ static void RB_SetGL2D()
830830
GL_LoadProjectionMatrix( proj );
831831
GL_LoadModelViewMatrix( matrixIdentity );
832832

833-
// TODO: remove this, state is set wherever drawing is done
834-
GL_State( GLS_DEPTHTEST_DISABLE | GLS_SRCBLEND_SRC_ALPHA | GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA );
835-
836833
GL_Cull( cullType_t::CT_TWO_SIDED );
837834

838835
// set time for 2D shaders

0 commit comments

Comments
 (0)