Fix compile error

This commit is contained in:
baldurk
2022-01-10 18:48:19 +00:00
parent 755d141840
commit 6a7ca28809
@@ -6920,7 +6920,7 @@ void WrappedVulkan::vkCmdBeginRenderingKHR(VkCommandBuffer commandBuffer,
else if(i == pRenderingInfo->colorAttachmentCount + 1)
att = pRenderingInfo->pStencilAttachment;
if(!att || !att->imageView)
if(!att || att->imageView == VK_NULL_HANDLE)
continue;
FrameRefType refType = eFrameRef_ReadBeforeWrite;