summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-03-15 17:38:31 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-04-06 14:16:53 -0700
commit3a36079ccc9e70500f8e7eb5e54451c0075150ce (patch)
tree163b15f92d3ef4c11979161d266775ae75fa43c4
parentd63da3f2aa00f3717a722407295caa852144c8ea (diff)
downloadqtlocation-mapboxgl-3a36079ccc9e70500f8e7eb5e54451c0075150ce.tar.gz
[core] disable stencil test for rasters
-rw-r--r--src/mbgl/renderer/painter_raster.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/renderer/painter_raster.cpp b/src/mbgl/renderer/painter_raster.cpp
index 827229d3a5..c8722d5ae6 100644
--- a/src/mbgl/renderer/painter_raster.cpp
+++ b/src/mbgl/renderer/painter_raster.cpp
@@ -22,8 +22,7 @@ void Painter::renderRaster(RasterBucket& bucket, const RasterLayer& layer, const
rasterShader->u_contrast_factor = contrastFactor(properties.contrast);
rasterShader->u_spin_weights = spinWeights(properties.hueRotate);
- config.stencilOp.reset();
- config.stencilTest = GL_TRUE;
+ config.stencilTest = GL_FALSE;
config.depthFunc.reset();
config.depthTest = GL_TRUE;
config.depthMask = GL_FALSE;