diff options
author | Stinson Linden <stinson@lindenlab.com> | 2014-05-08 21:58:51 +0100 |
---|---|---|
committer | Stinson Linden <stinson@lindenlab.com> | 2014-05-08 21:58:51 +0100 |
commit | c307bda68a3e473a45491ca3ecfeb63e4e3f72bc (patch) | |
tree | 8a1184f37bdc63b0e241326f871d71dc11db433d /indra/llrender/llimagegl.cpp | |
parent | 12d44073c8399bb29588f252b95d19f0d379998d (diff) |
Correcting a build error with the release viewer.
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rwxr-xr-x | indra/llrender/llimagegl.cpp | 6 |
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; |