From f3fe657d5e529f9f5235823d7b356d5a55aa04b3 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 29 Oct 2014 01:32:50 -0500 Subject: Always use GL_Cull to change cull state Manually changing cull state can cause later GL_Cull calls to not change the cull state. --- src/renderergl2/tr_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderergl2/tr_backend.c') diff --git a/src/renderergl2/tr_backend.c b/src/renderergl2/tr_backend.c index 0e7bbd77..8f82a6a2 100644 --- a/src/renderergl2/tr_backend.c +++ b/src/renderergl2/tr_backend.c @@ -819,7 +819,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 -- cgit