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
@@ -748,7 +748,7 @@ void FBO_BlitFromTexture(struct image_s *src, ivec4_t inSrcBox, vec2_t inSrcTexS
Mat4Ortho(0, width, height, 0, 0, 1, projection);
qglDisable( GL_CULL_FACE );
GL_Cull( CT_TWO_SIDED );
GL_BindToTMU(src, TB_COLORMAP);