diff --git a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp index 73942f91..87031e50 100644 --- a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp @@ -201,7 +201,7 @@ namespace bool CreateDepthBuffer(DeviceAttribute *rsa) { - const VkFormat depth_format=rsa->physical_device->GetDepthFormat(false); + const VkFormat depth_format=rsa->physical_device->GetDepthFormat(); const VkFormatProperties props=rsa->physical_device->GetFormatProperties(depth_format); diff --git a/src/RenderDevice/Vulkan/VKDeviceRenderPass.cpp b/src/RenderDevice/Vulkan/VKDeviceRenderPass.cpp index b483b6cf..afcab979 100644 --- a/src/RenderDevice/Vulkan/VKDeviceRenderPass.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceRenderPass.cpp @@ -90,6 +90,7 @@ bool Device::CreateAttachment(List &ref_list,List