From 2059afa4d915d56ee51b32a60f4c076edec840a8 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Fri, 27 Dec 2024 00:38:56 -0700 Subject: [PATCH] nv2a/vk: VK_CHECK call to vkBindImageMemory --- hw/xbox/nv2a/pgraph/vk/display.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xbox/nv2a/pgraph/vk/display.c b/hw/xbox/nv2a/pgraph/vk/display.c index ac2bc31a248..37fc33786f2 100644 --- a/hw/xbox/nv2a/pgraph/vk/display.c +++ b/hw/xbox/nv2a/pgraph/vk/display.c @@ -654,8 +654,7 @@ static void create_display_image(PGRAPHState *pg, int width, int height) alloc_info.pNext = &export_memory_alloc_info; VK_CHECK(vkAllocateMemory(r->device, &alloc_info, NULL, &d->memory)); - - vkBindImageMemory(r->device, d->image, d->memory, 0); + VK_CHECK(vkBindImageMemory(r->device, d->image, d->memory, 0)); // Create Image View VkImageViewCreateInfo image_view_create_info = {