Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts: # Source/Engine/Core/Math/BoundingSphere.cs # Source/Engine/Debug/DebugDraw.cpp # Source/Engine/Platform/Win32/Win32Platform.cpp # Source/Engine/Platform/Win32/Win32Platform.h
This commit is contained in:
@@ -1825,7 +1825,9 @@ bool GPUDeviceVulkan::Init()
|
||||
#endif
|
||||
#undef INIT_FUNC
|
||||
VmaAllocatorCreateInfo allocatorInfo = {};
|
||||
allocatorInfo.vulkanApiVersion = VK_API_VERSION_1_0;
|
||||
allocatorInfo.physicalDevice = gpu;
|
||||
allocatorInfo.instance = Instance;
|
||||
allocatorInfo.device = Device;
|
||||
allocatorInfo.pVulkanFunctions = &vulkanFunctions;
|
||||
VALIDATE_VULKAN_RESULT(vmaCreateAllocator(&allocatorInfo, &Allocator));
|
||||
|
||||
Reference in New Issue
Block a user