MAINT-6905 reducing log spam

meow-7.2.2
andreykproductengine 2016-11-04 16:18:35 +02:00
parent 246c5e942c
commit 3c9181867f
1 changed files with 9 additions and 2 deletions

View File

@ -267,7 +267,14 @@ bool LLTexUnit::bind(LLTexture* texture, bool for_rendering, bool forceBind)
}
else
{
LL_WARNS() << "NULL LLTexUnit::bind texture" << LL_ENDL;
if (texture)
{
LL_DEBUGS() << "NULL LLTexUnit::bind GL image" << LL_ENDL;
}
else
{
LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL;
}
return false;
}
}
@ -286,7 +293,7 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind)
if(!texture)
{
LL_WARNS() << "NULL LLTexUnit::bind texture" << LL_ENDL;
LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL;
return false;
}