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

@ -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);