summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-11-26 22:38:14 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-11-27 17:47:02 +0200
commit1f0820c8e82810fb957cb1cd17fb4327debfc0e5 (patch)
tree976533b4a2b03ab033143ebcd013199222c7a9ca /bin
parent044e92f5e8ff2049702aa9ff6bbf4eecf9d86fa7 (diff)
downloadqtlocation-mapboxgl-1f0820c8e82810fb957cb1cd17fb4327debfc0e5.tar.gz
[core] Added MapDebugOptions
Map debug options are now cycled up to all debug options enabled, then back to none.
Diffstat (limited to 'bin')
-rw-r--r--bin/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index ceb95c165c..6762d28c1b 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
map.setBearing(bearing);
if (debug) {
- map.setDebug(debug);
+ map.setDebug(debug ? mbgl::MapDebugOptions::TileBorders | mbgl::MapDebugOptions::ParseStatus : mbgl::MapDebugOptions::NoDebug);
}
uv_async_t *async = new uv_async_t;