diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp index 4b50496a2a3..ee8e935d90c 100644 --- a/src/mbgl/renderer/painter.cpp +++ b/src/mbgl/renderer/painter.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -66,6 +67,7 @@ void Painter::setup() { assert(sdfIconShader); assert(dotShader); assert(gaussianShader); + assert(circleShader); // Blending @@ -101,6 +103,7 @@ void Painter::setupShaders() { if (!dotShader) dotShader = std::make_unique(); if (!gaussianShader) gaussianShader = std::make_unique(); if (!collisionBoxShader) collisionBoxShader = std::make_unique(); + if (!circleShader) circleShader = std::make_unique(); } void Painter::resize() { diff --git a/src/mbgl/renderer/painter.hpp b/src/mbgl/renderer/painter.hpp index 465bf5ba337..420f8d32fd6 100644 --- a/src/mbgl/renderer/painter.hpp +++ b/src/mbgl/renderer/painter.hpp @@ -48,6 +48,7 @@ class LineShader; class LinejoinShader; class LineSDFShader; class LinepatternShader; +class CircleShader; class PatternShader; class IconShader; class RasterShader; @@ -221,6 +222,7 @@ class Painter : private util::noncopyable { std::unique_ptr dotShader; std::unique_ptr gaussianShader; std::unique_ptr collisionBoxShader; + std::unique_ptr circleShader; StaticVertexBuffer backgroundBuffer = { { -1, -1 }, { 1, -1 },