EXP-1080 FIX Console gets spammed with VertexShaderEnable messages making the viewer unusable

converted LL_WARNS to LL_WARNS_ONCE
Richard Linden 2011-08-11 14:21:20 -07:00
parent bedb0260f0
commit 7e9482a670
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}