summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-01-04 10:17:09 -0800
committerGraham Linden <graham@lindenlab.com>2019-01-04 10:17:09 -0800
commit2312efbf3ae09013bc86a2378bed43a743f2df3e (patch)
tree2260e5d43d201007fb9f6b6155e9ac15ba2d8bc4 /indra/newview/pipeline.cpp
parent01da53764bebc99fd692b3eb68f8520c6cfa2a97 (diff)
Add new shaders for generating shadows from clouds.
Add new class3 shadow shaders for VSM shadows. Add disabled shadow pass in WLSky for using above.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 828910c9c0..e60828a81c 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -117,6 +117,10 @@
#include "llenvironment.h"
+#if LL_WINDOWS
+#pragma optimize("", off)
+#endif
+
#ifdef _DEBUG
// Debug indices is disabled for now for debug performance - djs 4/24/02
//#define DEBUG_INDICES
@@ -9842,7 +9846,7 @@ void LLPipeline::renderShadow(glh::matrix4f& view, glh::matrix4f& proj, LLCamera
gGL.loadMatrix(proj.m);
gGL.matrixMode(LLRender::MM_MODELVIEW);
gGL.pushMatrix();
- gGL.loadMatrix(gGLModelView);
+ gGL.loadMatrix(view.m);
stop_glerror();
gGLLastMatrix = NULL;