Revert "[core] Change severity of too many data-driven properties to "Info""
This reverts commit 2125080dc3.
This commit is contained in:
@@ -78,21 +78,21 @@ void RenderLayer::checkRenderability(const PaintParameters& parameters,
|
||||
}
|
||||
|
||||
if (activeBindingCount > parameters.context.maximumVertexBindingCount) {
|
||||
Log::Info(Event::OpenGL,
|
||||
"The layer '%s' uses more data-driven properties than the current device "
|
||||
"supports, and will have rendering errors. To ensure compatibility with this "
|
||||
"device, use %d fewer data driven properties in this layer.",
|
||||
getID().c_str(),
|
||||
activeBindingCount - parameters.context.minimumRequiredVertexBindingCount);
|
||||
Log::Error(Event::OpenGL,
|
||||
"The layer '%s' uses more data-driven properties than the current device "
|
||||
"supports, and will have rendering errors. To ensure compatibility with this "
|
||||
"device, use %d fewer data driven properties in this layer.",
|
||||
getID().c_str(),
|
||||
activeBindingCount - parameters.context.minimumRequiredVertexBindingCount);
|
||||
hasRenderFailures = true;
|
||||
} else if (activeBindingCount > parameters.context.minimumRequiredVertexBindingCount) {
|
||||
Log::Info(Event::OpenGL,
|
||||
"The layer '%s' uses more data-driven properties than some devices may support. "
|
||||
"Though it will render correctly on this device, it may have rendering errors "
|
||||
"on other devices. To ensure compatibility with all devices, use %d fewer "
|
||||
"data-driven properties in this layer.",
|
||||
getID().c_str(),
|
||||
activeBindingCount - parameters.context.minimumRequiredVertexBindingCount);
|
||||
Log::Warning(Event::OpenGL,
|
||||
"The layer '%s' uses more data-driven properties than some devices may support. "
|
||||
"Though it will render correctly on this device, it may have rendering errors "
|
||||
"on other devices. To ensure compatibility with all devices, use %d fewer "
|
||||
"data-driven properties in this layer.",
|
||||
getID().c_str(),
|
||||
activeBindingCount - parameters.context.minimumRequiredVertexBindingCount);
|
||||
hasRenderFailures = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user