From cbadb06182826705ef45a9a7e402f8efc577aa04 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sat, 7 Sep 2024 17:35:56 -0300 Subject: [PATCH] lower max vertex attributes from 32 to 30, some platforms don't support that many --- src/modules/graphics/vertex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/vertex.h b/src/modules/graphics/vertex.h index 7669c407d..c4fba7007 100644 --- a/src/modules/graphics/vertex.h +++ b/src/modules/graphics/vertex.h @@ -314,7 +314,7 @@ struct VertexBufferLayout struct VertexAttributes { - static const uint32 MAX = 32; + static const uint32 MAX = 30; uint32 enableBits = 0; // indexed by attribute uint32 instanceBits = 0; // indexed by buffer