summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-05-08 21:58:51 +0100
committerStinson Linden <stinson@lindenlab.com>2014-05-08 21:58:51 +0100
commitc307bda68a3e473a45491ca3ecfeb63e4e3f72bc (patch)
tree8a1184f37bdc63b0e241326f871d71dc11db433d
parent12d44073c8399bb29588f252b95d19f0d379998d (diff)
Correcting a build error with the release viewer.
-rwxr-xr-xindra/llrender/llimagegl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 5b989da911..ebed454271 100755
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1930,7 +1930,11 @@ void LLImageGL::updatePickMask(S32 width, S32 height, const U8* data_in)
return;
}
- U32 pickSize = createPickMask(width, height);
+#ifdef SHOW_ASSERT
+ const U32 pickSize = createPickMask(width, height);
+#else // SHOW_ASSERT
+ createPickMask(width, height);
+#endif // SHOW_ASSERT
U32 pick_bit = 0;