summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-03-30 15:56:37 -0700
committerPtolemy <ptolemy@lindenlab.com>2020-03-30 16:11:54 -0700
commit8c46605c32dd2aa03d79c3739c0ea3df7427d3d7 (patch)
tree157b2ef8dab76b435fde025fe245653ce8227e3f /indra
parentc28852bd9aef0d3f69dd1fb76b8208666af68613 (diff)
SL-12888 Fix space alpha megaprim not using z-test
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvowlsky.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvowlsky.cpp b/indra/newview/llvowlsky.cpp
index 620367228f..368a3f2335 100644
--- a/indra/newview/llvowlsky.cpp
+++ b/indra/newview/llvowlsky.cpp
@@ -301,6 +301,8 @@ void LLVOWLSky::drawDome(void)
updateGeometry(mDrawable);
}
+ LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
+
const U32 data_mask = LLDrawPoolWLSky::SKY_VERTEX_DATA_MASK;
std::vector< LLPointer<LLVertexBuffer> >::const_iterator strips_vbo_iter, end_strips;