diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 5250d9f..0e1637f 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -8105,6 +8105,8 @@ static void VULKAN_BeginRenderPass( if (depthStencilAttachmentInfo != NULL) { + texture = (VulkanTexture*) depthStencilAttachmentInfo->texture; + if (texture->dimensions.width < framebufferWidth) { framebufferWidth = texture->dimensions.width;