summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--[-rwxr-xr-x]indra/llrender/llshadermgr.cpp24
1 files changed, 4 insertions, 20 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 79e0b3da28..7d857c6930 100755..100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -515,29 +515,13 @@ void LLShaderMgr::dumpObjectLog(GLhandleARB ret, BOOL warns, const std::string&
if (log.length() > 0 || warns)
{
+ LL_DEBUGS("ShaderLoading") << "Shader loading ";
+
if (!filename.empty())
{
- if (warns)
- {
- LL_WARNS("ShaderLoading") << "From " << filename << ":" << LL_ENDL;
- }
- else
- {
- LL_INFOS("ShaderLoading") << "From " << filename << ":" << LL_ENDL;
- }
- }
- }
-
- if ( log.length() > 0 )
- {
- if (warns)
- {
- LL_WARNS("ShaderLoading") << log << LL_ENDL;
- }
- else
- {
- LL_INFOS("ShaderLoading") << log << LL_ENDL;
+ LL_CONT << "From " << filename << ":\n";
}
+ LL_CONT << log << LL_ENDL;
}
}