Skip to content

Commit

Permalink
nv2a/vk: VK_CHECK call to vkBindImageMemory
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Dec 27, 2024
1 parent 6c2e69d commit 4eec953
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hw/xbox/nv2a/pgraph/vk/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 4eec953

Please sign in to comment.