summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-16 17:44:34 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-29 11:37:39 +0200
commit08163713e239ab7756dc9bbe9b6e2c4986f168d3 (patch)
tree391c7da104dbe3d12fc0152cddaa7dfc8abbea74 /src/mbgl/gfx
parent8f5e1ba20f7a356c5bdabb7cb9d0d10bb4d73e10 (diff)
downloadqtlocation-mapboxgl-08163713e239ab7756dc9bbe9b6e2c4986f168d3.tar.gz
[core] change approach to stencil clipping to (almost) match JS
Diffstat (limited to 'src/mbgl/gfx')
-rw-r--r--src/mbgl/gfx/context.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gfx/context.hpp b/src/mbgl/gfx/context.hpp
index 140d3b2356..c56ace2252 100644
--- a/src/mbgl/gfx/context.hpp
+++ b/src/mbgl/gfx/context.hpp
@@ -168,6 +168,8 @@ public:
virtual void visualizeStencilBuffer() = 0;
virtual void visualizeDepthBuffer(float depthRangeSize) = 0;
#endif
+
+ virtual void clearStencilBuffer(int32_t) = 0;
};
} // namespace gfx