Skip to content

Commit

Permalink
Allow unlimited client vertex attrib buffers.
Browse files Browse the repository at this point in the history
  • Loading branch information
kakashidinho committed Nov 14, 2020
1 parent eb8db7b commit 388a809
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libANGLE/renderer/metal/VertexArrayMtl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ inline void SetDefaultVertexBufferLayout(mtl::VertexBufferLayoutDesc *layout)
{
reset(context);

mDynamicVertexData.initialize(context, 0, mtl::kVertexAttribBufferStrideAlignment,
/** maxBuffers */ 10 * mtl::kMaxVertexAttribs);
mDynamicVertexData.initialize(context, 0, mtl::kVertexAttribBufferStrideAlignment);
}
VertexArrayMtl::~VertexArrayMtl() {}

Expand Down

0 comments on commit 388a809

Please sign in to comment.