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 committed 2014-10-29 01:32:50 -05:00
1 parent 39cf21bf54
commit 1ba9e7a45e
5 files changed
+17 -45

No files matched your search

+1 -1
View File
@@ -818,7 +818,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