diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 12:03:29 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 17:43:40 +0100 |
commit | 864364083c204e27f3f7a42f004ab1d1c87561d4 (patch) | |
tree | d3995b51c4fe4d2fea83ea57ce308de0cd24b89c /src/mbgl/gl/context.cpp | |
parent | 58e1bcf5d6ddf7677368cce8db6ce38c6ff36f5b (diff) | |
download | qtlocation-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.cpp | 4 |
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; |