summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-09-24 11:20:09 -0700
committerPtolemy <ptolemy@lindenlab.com>2020-09-24 11:20:09 -0700
commit88e7c15c2b38f1917d1939b8af39dbf499db11dd (patch)
tree63c23f810efff37a57e924c8987b7c0800488142 /indra/newview/llfloatermodelpreview.cpp
parent987be6bdb4d6b554ee30692d6b4508640f132a0c (diff)
SL-13888 Restore back face culling being accidently removed in SL-12781
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r--indra/newview/llfloatermodelpreview.cpp1
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);