summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-28 12:03:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-02-28 17:43:40 +0100
commit864364083c204e27f3f7a42f004ab1d1c87561d4 (patch)
treed3995b51c4fe4d2fea83ea57ce308de0cd24b89c /src/mbgl/gl/context.cpp
parent58e1bcf5d6ddf7677368cce8db6ce38c6ff36f5b (diff)
downloadqtlocation-mapboxgl-864364083c204e27f3f7a42f004ab1d1c87561d4.tar.gz
[core] move StencilMode to gfx namespace
Diffstat (limited to 'src/mbgl/gl/context.cpp')
-rw-r--r--src/mbgl/gl/context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp
index 1be6a32f2b..abe082f14f 100644
--- a/src/mbgl/gl/context.cpp
+++ b/src/mbgl/gl/context.cpp
@@ -716,8 +716,8 @@ void Context::setDepthMode(const gfx::DepthMode& depth) {
}
}
-void Context::setStencilMode(const StencilMode& stencil) {
- if (stencil.test.is<StencilMode::Always>() && !stencil.mask) {
+void Context::setStencilMode(const gfx::StencilMode& stencil) {
+ if (stencil.test.is<gfx::StencilMode::Always>() && !stencil.mask) {
stencilTest = false;
} else {
stencilTest = true;