summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-09-24 23:52:53 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-09-24 23:52:53 +0300
commit89839721eadf0b5379042530e01c9e5061ba6c35 (patch)
treeab74e2f35835fc13219b8a92c5764f7b5a8ffdb5
parent1ef45913812cc65a5b18a1c0c9248fecd48f06c1 (diff)
SL-13888 Restore back face culling being accidently removed in SL-12781
Due to conflicts picked up ptolemy's fix manually
-rw-r--r--indra/newview/llmodelpreview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 54350fc63d..d60d1d748e 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -2732,6 +2732,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);