mirror of https://github.com/xemu-project/xemu.git
nv2a/vk: VK_CHECK call to vkBindImageMemory
This commit is contained in:
parent
085fb33141
commit
c098b82108
|
@ -654,8 +654,7 @@ static void create_display_image(PGRAPHState *pg, int width, int height)
|
||||||
alloc_info.pNext = &export_memory_alloc_info;
|
alloc_info.pNext = &export_memory_alloc_info;
|
||||||
|
|
||||||
VK_CHECK(vkAllocateMemory(r->device, &alloc_info, NULL, &d->memory));
|
VK_CHECK(vkAllocateMemory(r->device, &alloc_info, NULL, &d->memory));
|
||||||
|
VK_CHECK(vkBindImageMemory(r->device, d->image, d->memory, 0));
|
||||||
vkBindImageMemory(r->device, d->image, d->memory, 0);
|
|
||||||
|
|
||||||
// Create Image View
|
// Create Image View
|
||||||
VkImageViewCreateInfo image_view_create_info = {
|
VkImageViewCreateInfo image_view_create_info = {
|
||||||
|
|
Loading…
Reference in New Issue