summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/vertex_array.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/vertex_array.hpp')
-rw-r--r--src/mbgl/gl/vertex_array.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mbgl/gl/vertex_array.hpp b/src/mbgl/gl/vertex_array.hpp
index 604754f672..70413050b2 100644
--- a/src/mbgl/gl/vertex_array.hpp
+++ b/src/mbgl/gl/vertex_array.hpp
@@ -9,6 +9,11 @@
#include <memory>
namespace mbgl {
+
+namespace gfx {
+class IndexBuffer;
+} // namespace gfx
+
namespace gl {
class Context;
@@ -56,7 +61,7 @@ public:
: state(std::move(state_)) {
}
- void bind(Context&, BufferID indexBuffer, const AttributeBindingArray&);
+ void bind(Context&, const gfx::IndexBuffer&, const AttributeBindingArray&);
private:
UniqueVertexArrayState state;