Free vulkan surface
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "Scene/Vertex.hpp"
|
||||
#include "Scene/Geometry.hpp"
|
||||
#include "Scene/Material.hpp"
|
||||
#include "Math/ByteSize.hpp"
|
||||
#include "Vulkan/Context.hpp"
|
||||
#include "Vulkan/Scene/VulkanShader.hpp"
|
||||
#include "Vulkan/Scene/VulkanGeometry.hpp"
|
||||
@@ -336,7 +337,7 @@ namespace openVulkanoCpp::Vulkan
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!alloc && createIfAllFull) alloc = CreateMemoryAllocation(64 * 1024 * 1024, type, true);
|
||||
if(!alloc && createIfAllFull) alloc = CreateMemoryAllocation(64_MiB, type, true);
|
||||
if(alloc) lastAllocation = alloc;
|
||||
return alloc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user