forked from MoonsideGames/Refresh
fix framebuffer size miscalculation with depth attachment
parent
0e7720ccf6
commit
99e9dc5b8c
|
@ -8105,6 +8105,8 @@ static void VULKAN_BeginRenderPass(
|
|||
|
||||
if (depthStencilAttachmentInfo != NULL)
|
||||
{
|
||||
texture = (VulkanTexture*) depthStencilAttachmentInfo->texture;
|
||||
|
||||
if (texture->dimensions.width < framebufferWidth)
|
||||
{
|
||||
framebufferWidth = texture->dimensions.width;
|
||||
|
|
Loading…
Reference in New Issue