From 0653c41f12a6e5bed35723b401c5b4d9505059bf Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 22 Sep 2026 14:40:53 +0200 Subject: refactor(opengl-bindings): fix clippy lints --- opengl-bindings/src/vertex_array.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opengl-bindings/src/vertex_array.rs') diff --git a/opengl-bindings/src/vertex_array.rs b/opengl-bindings/src/vertex_array.rs index f46b07d..c4fc62f 100644 --- a/opengl-bindings/src/vertex_array.rs +++ b/opengl-bindings/src/vertex_array.rs @@ -140,6 +140,11 @@ impl VertexArray } } + /// Binds a vertex buffer to the index `binding_index` in this vertex array. + /// + /// # Errors + /// Returns `Err` if either `offset` or `vertex_size` in `vertex_buffer_spec` is too + /// large. #[tracing::instrument(skip(current_context))] pub fn bind_vertex_buffer( &self, -- cgit v1.2.3-18-g5258