Browse Source

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

Sasha Szpakowski 11 months ago
parent
commit
cbadb06182
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/vertex.h

+ 1 - 1
src/modules/graphics/vertex.h

@@ -314,7 +314,7 @@ struct VertexBufferLayout
 
 
 struct VertexAttributes
 struct VertexAttributes
 {
 {
-	static const uint32 MAX = 32;
+	static const uint32 MAX = 30;
 
 
 	uint32 enableBits = 0; // indexed by attribute
 	uint32 enableBits = 0; // indexed by attribute
 	uint32 instanceBits = 0; // indexed by buffer
 	uint32 instanceBits = 0; // indexed by buffer