diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 12:03:29 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | 4372ce2b90a26d114fafa555227a5200c421878f (patch) | |
tree | d3995b51c4fe4d2fea83ea57ce308de0cd24b89c /src/mbgl/gl/context.cpp | |
parent | 53628a455bba6448579cbb8e8cedf25de28a8b3f (diff) | |
download | qtlocation-mapboxgl-4372ce2b90a26d114fafa555227a5200c421878f.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; |