diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-09-24 19:07:50 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-09-24 19:07:50 +0000 |
commit | 7781e1417e5a747a501e76ee9e976226a2656b6a (patch) | |
tree | ef64587ac0e2371e31f9cd8416e9390045b1bc36 /indra/newview | |
parent | 987be6bdb4d6b554ee30692d6b4508640f132a0c (diff) | |
parent | 4c44366c0ba6dc8e464fb887d0bf1eb6661e9f1f (diff) |
Merged in SL-13888 (pull request #317)
SL-13888 Restore back face culling being accidently removed in SL-12781
Approved-by: Dave Houlton
Approved-by: Andrey Kleshchev
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..5016dc3e3e 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); |