From c307bda68a3e473a45491ca3ecfeb63e4e3f72bc Mon Sep 17 00:00:00 2001 From: Stinson Linden Date: Thu, 8 May 2014 21:58:51 +0100 Subject: Correcting a build error with the release viewer. --- indra/llrender/llimagegl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3