summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-08-11 14:21:20 -0700
committerRichard Linden <none@none>2011-08-11 14:21:20 -0700
commit25f1653ca0a25c73b3c0649ee5bb7c65e5378eac (patch)
tree658b1a98a8a218be852a0d71aba583c7163f6d15
parentb215c724c1394e7c27a0309341ffc3b4f2154b25 (diff)
EXP-1080 FIX Console gets spammed with VertexShaderEnable messages making the viewer unusable
converted LL_WARNS to LL_WARNS_ONCE
-rw-r--r--indra/newview/llfeaturemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index 0ea0e41dfa..db9a0424c0 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -106,7 +106,7 @@ BOOL LLFeatureList::isFeatureAvailable(const std::string& name)
return mFeatures[name].mAvailable;
}
- LL_WARNS("RenderInit") << "Feature " << name << " not on feature list!" << LL_ENDL;
+ LL_WARNS_ONCE("RenderInit") << "Feature " << name << " not on feature list!" << LL_ENDL;
// changing this to TRUE so you have to explicitly disable
// something for it to be disabled
@@ -120,7 +120,7 @@ F32 LLFeatureList::getRecommendedValue(const std::string& name)
return mFeatures[name].mRecommendedLevel;
}
- LL_WARNS("RenderInit") << "Feature " << name << " not on feature list or not available!" << LL_ENDL;
+ LL_WARNS_ONCE("RenderInit") << "Feature " << name << " not on feature list or not available!" << LL_ENDL;
return 0;
}