Always use GL_Cull to change cull state

Manually changing cull state can cause later GL_Cull calls to not change
the cull state.
This commit is contained in:
Zack Middleton 2014-10-29 01:32:50 -05:00
parent 39cf21bf54
commit 1ba9e7a45e
5 changed files with 17 additions and 45 deletions

View file

@ -710,7 +710,7 @@ void RB_SetGL2D (void) {
GLS_SRCBLEND_SRC_ALPHA |
GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA );
qglDisable( GL_CULL_FACE );
GL_Cull( CT_TWO_SIDED );
qglDisable( GL_CLIP_PLANE0 );
// set time for 2D shaders