summaryrefslogtreecommitdiff
path: root/include/llmr/renderer
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-01-23 10:15:02 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-01-23 10:15:02 +0100
commitb4a95be0b217ac8a73bdc57a0488865b2289d5f5 (patch)
treeff8507a01a4df42470213685b4831fe892529d66 /include/llmr/renderer
parent476b7cfdaeadb5153445776f889be5dac17691df (diff)
downloadqtlocation-mapboxgl-b4a95be0b217ac8a73bdc57a0488865b2289d5f5.tar.gz
fix drawFill function
Diffstat (limited to 'include/llmr/renderer')
-rw-r--r--include/llmr/renderer/painter.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llmr/renderer/painter.hpp b/include/llmr/renderer/painter.hpp
index 2a8416a1be..915b7d5308 100644
--- a/include/llmr/renderer/painter.hpp
+++ b/include/llmr/renderer/painter.hpp
@@ -5,11 +5,12 @@
#include "shader-line.hpp"
#include "shader-outline.hpp"
+#include "../map/tile.hpp"
+
namespace llmr {
class Settings;
class Transform;
-class Tile;
class Painter {
public:
@@ -30,6 +31,8 @@ public:
void renderDebug(const std::shared_ptr<Tile>& tile);
void renderBackground();
+ void renderFill(const std::shared_ptr<Tile>& tile, const Tile::fill_index& index);
+
void drawClippingMask();
bool switchShader(Shader *shader);