summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/index_buffer.hpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-09 13:24:43 -0800
committerChris Loer <chris.loer@mapbox.com>2017-11-17 10:05:15 -0800
commit9a5b2fdfc362e7041a10d5066161b51aedbb0a31 (patch)
treeb927e450ca806157001ad247fe84502bedd5fcb4 /src/mbgl/gl/index_buffer.hpp
parent4c6f0e8138338f0d4a8d2298a053513ad30be5ea (diff)
downloadqtlocation-mapboxgl-9a5b2fdfc362e7041a10d5066161b51aedbb0a31.tar.gz
[core] Enable dynamic updates of index buffers.
Diffstat (limited to 'src/mbgl/gl/index_buffer.hpp')
-rw-r--r--src/mbgl/gl/index_buffer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/gl/index_buffer.hpp b/src/mbgl/gl/index_buffer.hpp
index 01b6396e00..87bfb6068f 100644
--- a/src/mbgl/gl/index_buffer.hpp
+++ b/src/mbgl/gl/index_buffer.hpp
@@ -35,6 +35,7 @@ private:
template <class DrawMode>
class IndexBuffer {
public:
+ std::size_t indexCount;
UniqueBuffer buffer;
};