summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-21 16:25:33 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-21 16:25:33 +0100
commit5de31d6310dc405550986306920df2eb215ece92 (patch)
tree242ff677c436527539902eecb0da0f938ee9f341
parentf0f65a3331713873b2c54900c7ee3f9e8a76f745 (diff)
downloadqtlocation-mapboxgl-upstream/heatmap-bug.tar.gz
-rw-r--r--src/mbgl/gfx/draw_mode.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/gfx/draw_mode.hpp b/src/mbgl/gfx/draw_mode.hpp
index 586f41cb13..aedf93d0d3 100644
--- a/src/mbgl/gfx/draw_mode.hpp
+++ b/src/mbgl/gfx/draw_mode.hpp
@@ -9,12 +9,13 @@ namespace gfx {
class DrawMode {
protected:
- DrawMode(DrawModeType type_, float)
- : type(type_) {
+ DrawMode(DrawModeType type_, float value_)
+ : type(type_), value(value_) {
}
public:
const DrawModeType type;
+ const float value;
};
class Points : public DrawMode {