fix null reference
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3fcc940586
commit
2db60e5ab0
|
@ -7448,9 +7448,12 @@ static VkFramebuffer VULKAN_INTERNAL_FetchFramebuffer(
|
|||
renderTarget->view
|
||||
);
|
||||
|
||||
hash.colorMultiSampleAttachmentViews[i] = (
|
||||
renderTarget->multisampleTexture->view
|
||||
);
|
||||
if (renderTarget->multisampleTexture != NULL)
|
||||
{
|
||||
hash.colorMultiSampleAttachmentViews[i] = (
|
||||
renderTarget->multisampleTexture->view
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (depthStencilAttachmentInfo == NULL)
|
||||
|
@ -7496,7 +7499,7 @@ static VkFramebuffer VULKAN_INTERNAL_FetchFramebuffer(
|
|||
|
||||
attachmentCount += 1;
|
||||
|
||||
if (renderTarget->multisampleCount > VK_SAMPLE_COUNT_1_BIT)
|
||||
if (renderTarget->multisampleTexture != NULL)
|
||||
{
|
||||
imageViewAttachments[attachmentCount] =
|
||||
renderTarget->multisampleTexture->view;
|
||||
|
|
Loading…
Reference in New Issue