summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-07-02 21:43:03 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-07-08 20:29:43 +0300
commit3575695033bca925d02ee9ff62b54c07a6dc3f9d (patch)
tree5e1dd5070ae7756db60f7d9e0e048b924dec7cdf
parentee0d831a2f004d9ec82c498eecc03676b54e73ea (diff)
downloadqtlocation-mapboxgl-3575695033bca925d02ee9ff62b54c07a6dc3f9d.tar.gz
Revert "[core] Change severity of too many data-driven properties to "Info""
This reverts commit 2125080dc34381e7458695ed584ea94398d0e9b2.
-rw-r--r--src/mbgl/renderer/render_layer.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mbgl/renderer/render_layer.cpp b/src/mbgl/renderer/render_layer.cpp
index 821b10050f..9e79d7338c 100644
--- a/src/mbgl/renderer/render_layer.cpp
+++ b/src/mbgl/renderer/render_layer.cpp
@@ -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;
}
}