summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-03-07 15:40:39 -0500
committerOz Linden <oz@lindenlab.com>2016-03-07 15:40:39 -0500
commit511bf30a2e97f543c5acbd9a2501d7ea5c7414ce (patch)
tree4b70d05f9b69407c5c97f7f4a47ccac5aa63b1d2 /indra/llrender
parent5822fb00b605d4f4ddd01e887b40d04b67e162a9 (diff)
make shader loading messages LL_DEBUGS
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llshadermgr.cpp26
1 files changed, 5 insertions, 21 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index b2be3cc3b6..b297223c2e 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;
}
}