summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/painter.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-18 15:02:35 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-20 12:48:52 +0300
commit30f5aa72de7a3c73acd35d16769991c802c8d29a (patch)
tree4f8df0d1a9827094e890597e9b7c26c83ecb5a91 /src/mbgl/renderer/painter.hpp
parenta709ea26569351e2c60b497bb427c608ef9a20c5 (diff)
downloadqtlocation-mapboxgl-30f5aa72de7a3c73acd35d16769991c802c8d29a.tar.gz
[core] Make MapDebugOptions::StencilClip a no-op in Release mode
Diffstat (limited to 'src/mbgl/renderer/painter.hpp')
-rw-r--r--src/mbgl/renderer/painter.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/renderer/painter.hpp b/src/mbgl/renderer/painter.hpp
index 5248cd5104..b291c14b14 100644
--- a/src/mbgl/renderer/painter.hpp
+++ b/src/mbgl/renderer/painter.hpp
@@ -86,7 +86,10 @@ public:
// Renders the red debug frame around a tile, visualizing its perimeter.
void renderDebugFrame(const mat4 &matrix);
+#if defined(DEBUG)
+ // Renders tile clip boundaries, using stencil buffer to calculate fill color.
void renderClipMasks();
+#endif
void renderDebugText(Tile&, const mat4&);
void renderFill(PaintParameters&, FillBucket&, const style::FillLayer&, const RenderTile&);