Revert "[core] Band-aid for crash triggered by unbound element buffer (#6844)"
This reverts commit 057b7b75ce.
This commit is contained in:
@@ -44,9 +44,6 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user