SL-13888 Restore back face culling being accidently removed in SL-12781

meow-7.2.2
Ptolemy 2020-09-24 11:20:09 -07:00 committed by Ansariel
parent 509ad2c13c
commit 2fcb2a928c
1 changed files with 1 additions and 0 deletions

View File

@ -4079,6 +4079,7 @@ BOOL LLModelPreview::render()
LLGLSUIDefault def; // GL_BLEND, GL_ALPHA_TEST, GL_CULL_FACE, depth test
LLGLDisable no_blend(GL_BLEND);
LLGLEnable cull(GL_CULL_FACE);
LLGLDepthTest depth(GL_FALSE); // SL-12781 disable z-buffer to render background color
LLGLDisable fog(GL_FOG);