Account for arrays of pointers when calculating buffer offsets

This commit is contained in:
baldurk
2023-07-25 17:47:09 +01:00
parent 8a4735e6dc
commit 6e0ea69011
+1 -1
View File
@@ -1334,7 +1334,7 @@ ParsedFormat BufferFormatter::ParseFormatString(const QString &formatString, uin
el.type.arrayByteStride = 8;
el.type.elements = arrayCount;
cur->offset += 8;
cur->offset += 8 * arrayCount;
if(!isPadding)
{