summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-01 17:09:34 -0600
committerDave Parks <davep@lindenlab.com>2023-02-01 17:09:34 -0600
commit6f136d403b6bbccae80661c6585f29e1caed3a7c (patch)
tree9ca9853598555139f980fc915ec8646abfd58f21 /indra/newview/llmodelpreview.cpp
parentc136c5ece4a6baf3b0a34c32211e00a3d0fc4b69 (diff)
SL-19000 Fix various 3D UI components not respecting depth buffer. Incidental decruft. Do I get a prize for 1000th jira?
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index df1a29d039..66d14df1f4 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -3114,8 +3114,7 @@ BOOL LLModelPreview::render()
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);
-
+
{
gUIProgram.bind();