summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-04-15 11:54:18 -0700
committerRider Linden <none@none>2015-04-15 11:54:18 -0700
commit109e2db131514de43a2d61da1cc4ee78dc89f858 (patch)
tree217ca4b42ee516dab39198661e2bc91514a5a8e5 /indra/newview/llviewerdisplay.cpp
parent176d8cd268611e28c07a462df3027f4872456e5a (diff)
parent82ae214f6a367e17dd335e80e2444cf672108821 (diff)
Merge
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rwxr-xr-xindra/newview/llviewerdisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index cd9b2ed11b..afa00e3e6e 100755
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -930,8 +930,8 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
if (gSavedSettings.getBOOL("RenderDepthPrePass") && LLGLSLShader::sNoFixedFunction)
{
gGL.setColorMask(false, false);
-
- U32 types[] = {
+
+ static const U32 types[] = {
LLRenderPass::PASS_SIMPLE,
LLRenderPass::PASS_FULLBRIGHT,
LLRenderPass::PASS_SHINY