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:
1 parent
39cf21bf54
commit
1ba9e7a45e
5 files changed
+17
-45
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user