Skip to content

Commit

Permalink
lower max vertex attributes from 32 to 30, some platforms don't suppo…
Browse files Browse the repository at this point in the history
…rt that many
  • Loading branch information
slime73 committed Sep 7, 2024
1 parent 6c67835 commit cbadb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vertex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbadb06

Please sign in to comment.