summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-01-11 15:01:52 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-01-17 14:45:29 -0600
commited80755084a3ab68a4f950e1a2aad8bda2bbe3f7 (patch)
tree5a7ce98aee4adccbf99ade338a51bcd3e08d820a /src/mbgl/renderer
parentdf2b6cfec1d3acb41520d1277809ba3d17a7ceb7 (diff)
downloadqtlocation-mapboxgl-ed80755084a3ab68a4f950e1a2aad8bda2bbe3f7.tar.gz
[core] Restore GL_KHR_debug messages in release builds
This reverts commit 8c4da72d09e585bd10d030129c99e1e609a2d2f9.
Diffstat (limited to 'src/mbgl/renderer')
-rw-r--r--src/mbgl/renderer/painter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp
index 5894912ef3..505007304d 100644
--- a/src/mbgl/renderer/painter.cpp
+++ b/src/mbgl/renderer/painter.cpp
@@ -89,9 +89,7 @@ Painter::Painter(gl::Context& context_, const TransformState& state_, float pixe
tileBorderSegments.emplace_back(0, 0, 4, 5);
rasterSegments.emplace_back(0, 0, 4, 6);
-#ifndef NDEBUG
gl::debugging::enable();
-#endif
ProgramParameters programParameters{ pixelRatio, false };
programs = std::make_unique<Programs>(context, programParameters);