Skip to content

Commit

Permalink
Remove superfluous GL_State call
Browse files Browse the repository at this point in the history
  • Loading branch information
slipher committed Jan 25, 2025
1 parent 4fd7854 commit 2714324
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/engine/renderer/tr_backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,9 +830,6 @@ static void RB_SetGL2D()
GL_LoadProjectionMatrix( proj );
GL_LoadModelViewMatrix( matrixIdentity );

// TODO: remove this, state is set wherever drawing is done
GL_State( GLS_DEPTHTEST_DISABLE | GLS_SRCBLEND_SRC_ALPHA | GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA );

GL_Cull( cullType_t::CT_TWO_SIDED );

// set time for 2D shaders
Expand Down

0 comments on commit 2714324

Please sign in to comment.