diff --git a/src/modules/graphics/vulkan/Graphics.cpp b/src/modules/graphics/vulkan/Graphics.cpp index 5736188e8..1c792c0a1 100644 --- a/src/modules/graphics/vulkan/Graphics.cpp +++ b/src/modules/graphics/vulkan/Graphics.cpp @@ -1740,6 +1740,10 @@ void Graphics::initVMA() allocatorCreateInfo.device = device; allocatorCreateInfo.instance = instance; + // Default of 256 MB is a little too wasteful for most love games. + // TODO: Tune this more. + allocatorCreateInfo.preferredLargeHeapBlockSize = 128 * 1024 * 1024; + VmaVulkanFunctions vulkanFunctions{}; vulkanFunctions.vkGetInstanceProcAddr = vkGetInstanceProcAddr;