BOOL LLFeatureManager::maskFeatures(const std::string& name) { LLFeatureList *maskp = findMask(name); if (!maskp) { LL_DEBUGS("RenderInit") << "Unknown feature mask " << name << LL_ENDL; return FALSE; } LL_INFOS("RenderInit") << "Applying GPU Feature list: " << name << LL_ENDL; return maskList(*maskp); }
bool KviRegisteredUser::addMask(KviIrcMask * mask) { if(findMask(*mask)) { delete mask; mask = nullptr; return false; } m_pMaskList->append(mask); return true; }