Renderers: Fix UploadPool

This commit is contained in:
Jérôme Leclercq
2021-01-28 15:59:18 +01:00
parent 41c921bcf6
commit 5eedd3c0bc
3 changed files with 6 additions and 2 deletions

View File

@@ -52,6 +52,8 @@ namespace Nz
allocationData.mappedPtr = static_cast<UInt8*>(bestBlock.block->memory.data()) + bestBlock.offset;
allocationData.size = size;
bestBlock.block->freeOffset += size;
return allocationData;
}