summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_backend.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-10-29 01:32:50 -0500
committerTim Angus <tim@ngus.net>2015-03-17 11:38:54 +0000
commitf3fe657d5e529f9f5235823d7b356d5a55aa04b3 (patch)
tree672a52a86cc6b4cd7e94463df8ff2a4fc3017e37 /src/renderergl2/tr_backend.c
parent97056fbf4fead4f9b68a7ec6ad0ecaec8d5f5d07 (diff)
Always use GL_Cull to change cull state
Manually changing cull state can cause later GL_Cull calls to not change the cull state.
Diffstat (limited to 'src/renderergl2/tr_backend.c')
-rw-r--r--src/renderergl2/tr_backend.c2
1 files changed, 1 insertions, 1 deletions
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