Checker: OVERRUN_DYNAMIC
Function: LLImageGL::updatePickMask(int, int, const unsigned char *)
File: /indra/llrender/llimagegl.cpp

not a bug, AFAICT.
master
Tofu Linden 2010-01-27 14:04:02 -08:00
parent ccacd7d7ac
commit e70d7fca4b
1 changed files with 1 additions and 4 deletions

View File

@ -1716,10 +1716,7 @@ void LLImageGL::updatePickMask(S32 width, S32 height, const U8* data_in)
{
U32 pick_idx = pick_bit/8;
U32 pick_offset = pick_bit%8;
if (pick_idx >= size)
{
llerrs << "WTF?" << llendl;
}
llassert(pick_idx < size);
mPickMask[pick_idx] |= 1 << pick_offset;
}