mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(Vulkan) Fix Vulkan validation layer - fix thanks to flyinghead -
see comments
This commit is contained in:
parent
cf7b30481b
commit
bf2e7b93f0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user