Skip to content

Commit

Permalink
Added Metal comment info
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardodoria committed May 10, 2023
1 parent 656555a commit 9800c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/renders/sokol/SokolObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ void SokolObject::addAttribute(int slotAttribute, BufferRender* buffer, unsigned

// D3D11 cannot have offset (AlignedByteOffset) bigger than 2048
// https://github.com/floooh/sokol/issues/818
// Metal also cannot use large offsets
size_t bufferOffset = 0;
size_t attrOffset = 0;

Expand Down

0 comments on commit 9800c4e

Please sign in to comment.