diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2020-09-24 11:20:09 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2020-09-24 11:20:09 -0700 |
commit | 88e7c15c2b38f1917d1939b8af39dbf499db11dd (patch) | |
tree | 63c23f810efff37a57e924c8987b7c0800488142 /indra/newview | |
parent | 987be6bdb4d6b554ee30692d6b4508640f132a0c (diff) |
SL-13888 Restore back face culling being accidently removed in SL-12781
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index bc44e37c5a..842edd565b 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -3646,6 +3646,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); |