示例#1
0
void RenderingDebugger::PostWarning(const WarningType type, const std::string& message)
{
    auto it = warnings_.find(message);
    if (it != warnings_.end())
    {
        if (!it->second.IsBlocked())
        {
            it->second.IncOccurrence();
            OnWarning(type, it->second);
        }
    }
    else
    {
        warnings_[message] = Message{ message, source_, groupName_ };
        OnWarning(type, warnings_[message]);
    }
}
示例#2
0
void cxEngine::Warning()
{
    OnWarning();
}