diff options
Diffstat (limited to 'src/mbgl/gl/vertex_array.cpp')
-rw-r--r-- | src/mbgl/gl/vertex_array.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gl/vertex_array.cpp b/src/mbgl/gl/vertex_array.cpp index 831b118fce..e82e6e9765 100644 --- a/src/mbgl/gl/vertex_array.cpp +++ b/src/mbgl/gl/vertex_array.cpp @@ -12,6 +12,8 @@ void VertexArray::bind(Context& context, state->indexBuffer = indexBuffer.getResource<gl::IndexBufferResource>().buffer; state->bindings.reserve(bindings.size()); + + // NOLINTNEXTLINE(bugprone-too-small-loop-variable) for (AttributeLocation location = 0; location < bindings.size(); ++location) { if (state->bindings.size() <= location) { state->bindings.emplace_back(context, AttributeLocation(location)); |