(Vulkan) Fix Vulkan validation layer - fix thanks to flyinghead -

see comments
This commit is contained in:
twinaphex 2021-08-29 20:39:22 +02:00
parent cf7b30481b
commit bf2e7b93f0

View File

@ -1894,7 +1894,7 @@ static bool vulkan_frame(void *data, const void *frame,
if (vk->hw.enable)
{
/* Does this make that this can happen at all? */
if (vk->hw.image)
if (vk->hw.image && vk->hw.image->create_info.image)
{
input.image = vk->hw.image->create_info.image;
input.view = vk->hw.image->image_view;