diff --git a/app/src/main/cpp/skyline/gpu/memory_manager.cpp b/app/src/main/cpp/skyline/gpu/memory_manager.cpp index 9f3a6d10..3030d52c 100644 --- a/app/src/main/cpp/skyline/gpu/memory_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/memory_manager.cpp @@ -114,7 +114,7 @@ namespace skyline::gpu::memory { VmaAllocationInfo allocationInfo; ThrowOnFail(vmaCreateBuffer(vmaAllocator, &static_cast(bufferCreateInfo), &allocationCreateInfo, &buffer, &allocation, &allocationInfo)); - return Buffer(reinterpret_cast(allocationInfo.pMappedData), allocationInfo.size, vmaAllocator, buffer, allocation); + return Buffer(reinterpret_cast(allocationInfo.pMappedData), size, vmaAllocator, buffer, allocation); } Image MemoryManager::AllocateImage(const vk::ImageCreateInfo &createInfo) {