summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/painter_fill.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-10-04 15:26:00 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-10-06 14:47:58 -0700
commit21d7ee11e1cc0cd129f40df5bea2e07bfcc2a9e4 (patch)
tree771918967c0bdad79ba98f231d50436e633de369 /src/mbgl/renderer/painter_fill.cpp
parent388fa9cf1039493f98f24005d1c7ddaa0ff95b3d (diff)
downloadqtlocation-mapboxgl-21d7ee11e1cc0cd129f40df5bea2e07bfcc2a9e4.tar.gz
[core] Rationalize shader names
{layer type}{subtype}Shader
Diffstat (limited to 'src/mbgl/renderer/painter_fill.cpp')
-rw-r--r--src/mbgl/renderer/painter_fill.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/renderer/painter_fill.cpp b/src/mbgl/renderer/painter_fill.cpp
index 6d6ae4df61..50ead900f6 100644
--- a/src/mbgl/renderer/painter_fill.cpp
+++ b/src/mbgl/renderer/painter_fill.cpp
@@ -43,10 +43,10 @@ void Painter::renderFill(PaintParameters& parameters,
context.depthMask = true;
context.lineWidth = 2.0f; // This is always fixed and does not depend on the pixelRatio!
- auto& outlineShader = parameters.shaders.outline;
- auto& patternShader = parameters.shaders.pattern;
- auto& outlinePatternShader = parameters.shaders.outlinePattern;
- auto& plainShader = parameters.shaders.plain;
+ auto& outlineShader = parameters.shaders.fillOutline;
+ auto& patternShader = parameters.shaders.fillPattern;
+ auto& outlinePatternShader = parameters.shaders.fillOutlinePattern;
+ auto& plainShader = parameters.shaders.fill;
// Because we're drawing top-to-bottom, and we update the stencil mask
// befrom, we have to draw the outline first (!)