diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-01-16 13:37:13 -0500 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2015-01-16 13:37:13 -0500 |
commit | 1ce0ca0b7a38218e53601b0b1e9d72a3ff55e52e (patch) | |
tree | 0c1c84e381bb057c81e8ae2faee427cb26c015ba /src/mbgl/geometry/line_atlas.hpp | |
parent | 221d256beae6ff06754ee52feffbfc2953df699b (diff) | |
download | qtlocation-mapboxgl-1ce0ca0b7a38218e53601b0b1e9d72a3ff55e52e.tar.gz |
add warning when line atlas is overflowed
Diffstat (limited to 'src/mbgl/geometry/line_atlas.hpp')
-rw-r--r-- | src/mbgl/geometry/line_atlas.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/geometry/line_atlas.hpp b/src/mbgl/geometry/line_atlas.hpp index 329c907b1c..191dc0c4d4 100644 --- a/src/mbgl/geometry/line_atlas.hpp +++ b/src/mbgl/geometry/line_atlas.hpp @@ -32,7 +32,7 @@ private: char *const data = nullptr; std::atomic<bool> dirty; uint32_t texture = 0; - uint32_t nextRow = 0; + int nextRow = 0; std::map<std::string, LinePatternPos> positions; }; |