summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-08-17 18:12:25 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-08-17 18:12:25 -0600
commitfe46a8e012e41ca449096897e4f91551c467cd51 (patch)
treef1414eab91b7185950a43c1b8f3cc0c9edcac96b /indra/llrender
parentc3327eba03972fdda60a14cc0125bb70298fd3da (diff)
fix for sh-2307: crash at LLImageGL::setCategory(int) line 1890
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 9ca3a23d52..4892a292cf 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1887,6 +1887,7 @@ BOOL LLImageGL::getMask(const LLVector2 &tc)
void LLImageGL::setCategory(S32 category)
{
+#if 0 //turn this off temporarily because it is not in use now.
if(!gAuditTexture)
{
return ;
@@ -1907,6 +1908,7 @@ void LLImageGL::setCategory(S32 category)
mCategory = -1 ;
}
}
+#endif
}
//for debug use