Skip to content

Commit 9800c4e

Browse files
committed
Added Metal comment info
1 parent 656555a commit 9800c4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/renders/sokol/SokolObject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ void SokolObject::addAttribute(int slotAttribute, BufferRender* buffer, unsigned
124124

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

0 commit comments

Comments
 (0)