Fix bugs in deletion. Delete redundant functions.

This commit is contained in:
Henrik Rydgård committed 2021-11-22 19:02:08 +01:00
1 parent a7591d7826
commit 2cbadefb29
3 files changed
+7 -12

No files matched your search

@@ -879,8 +879,6 @@ bool VulkanRenderManager::InitBackbufferFramebuffers(int width, int height) {
}
bool VulkanRenderManager::InitDepthStencilBuffer(VkCommandBuffer cmd) {
bool pass;
const VkFormat depth_format = vulkan_->GetDeviceInfo().preferredDepthStencilFormat;
int aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT;
VkImageCreateInfo image_info = { VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO };