lower max vertex attributes from 32 to 30, some platforms don't support that many

This commit is contained in:
Sasha Szpakowski
2024-09-07 17:35:56 -03:00
parent 6c67835b6a
commit cbadb06182
+1 -1
View File
@@ -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