diff options
Diffstat (limited to 'src/mbgl/geometry/vao.hpp')
-rw-r--r-- | src/mbgl/geometry/vao.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/geometry/vao.hpp b/src/mbgl/geometry/vao.hpp index 150a6badbd..5ab784c0c7 100644 --- a/src/mbgl/geometry/vao.hpp +++ b/src/mbgl/geometry/vao.hpp @@ -44,6 +44,9 @@ public: storeBinding(shader, vertexBuffer.getID(), elementsBuffer.getID(), offset); } } else { + // Band-aid for https://github.com/mapbox/mapbox-gl-native/issues/5731 + elementsBuffer.bind(store); + verifyBinding(shader, vertexBuffer.getID(), elementsBuffer.getID(), offset); } } |