diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-01-14 22:24:44 -0500 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2015-01-14 22:24:44 -0500 |
commit | 2c615b613c3f4031cf7d40d37cee7ca5c6c96265 (patch) | |
tree | 33adab55791e6803e0c09a51376663739a924877 /src/mbgl/geometry/line_atlas.hpp | |
parent | 84e9dbdc09043a22d35a3d903dc9b024f1bf23a2 (diff) | |
download | qtlocation-mapboxgl-2c615b613c3f4031cf7d40d37cee7ca5c6c96265.tar.gz |
support dash arrays that are any length
Diffstat (limited to 'src/mbgl/geometry/line_atlas.hpp')
-rw-r--r-- | src/mbgl/geometry/line_atlas.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/geometry/line_atlas.hpp b/src/mbgl/geometry/line_atlas.hpp index 6e4d8ab5b8..800c047dc8 100644 --- a/src/mbgl/geometry/line_atlas.hpp +++ b/src/mbgl/geometry/line_atlas.hpp @@ -21,8 +21,8 @@ public: void bind(); - LinePatternPos getDashPosition(std::vector<float>&, bool); - LinePatternPos addDash(std::vector<float> &dasharray, bool round); + LinePatternPos getDashPosition(const std::vector<float>&, bool); + LinePatternPos addDash(const std::vector<float> &dasharray, bool round); const int width; const int height; |