From c451850679e2361a6371103d0517c67261e410f8 Mon Sep 17 00:00:00 2001 From: Dev Mannemela Date: Fri, 6 Dec 2024 16:51:37 -0800 Subject: [PATCH] igl | VertexInputState : fix the limit for inputBindings Reviewed By: EricGriffith, corporateshark Differential Revision: D66561672 fbshipit-source-id: 4b63da51ae6cca5f92496533290c4dcf7feab6cf --- src/igl/VertexInputState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/igl/VertexInputState.h b/src/igl/VertexInputState.h index 243dabedfd..6e98c8dd17 100644 --- a/src/igl/VertexInputState.h +++ b/src/igl/VertexInputState.h @@ -140,7 +140,7 @@ struct VertexInputStateDesc { size_t numAttributes = 0; VertexAttribute attributes[IGL_VERTEX_ATTRIBUTES_MAX]; size_t numInputBindings = 0; - VertexInputBinding inputBindings[IGL_VERTEX_BUFFER_MAX]; + VertexInputBinding inputBindings[IGL_BUFFER_BINDINGS_MAX]; static size_t sizeForVertexAttributeFormat(VertexAttributeFormat format); bool operator==(const VertexInputStateDesc& other) const;