summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMichael Pohoreski <ptolemy@lindenlab.com>2020-03-31 16:53:58 +0000
committerMichael Pohoreski <ptolemy@lindenlab.com>2020-03-31 16:53:58 +0000
commit2cd264f4a81439455497c486fe0726769f95ee93 (patch)
tree157b2ef8dab76b435fde025fe245653ce8227e3f /indra/newview
parentc28852bd9aef0d3f69dd1fb76b8208666af68613 (diff)
parent8c46605c32dd2aa03d79c3739c0ea3df7427d3d7 (diff)
Merged in SL-12888 (pull request #55)
SL-12888 Fix space alpha megaprim not using z-test Approved-by: Dave Houlton <euclid@lindenlab.com>
Diffstat (limited to 'indra/newview')
-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;