Merge pull request #2744 from Themaister/master

Fix silly bug in libretro-test-vulkan.
This commit is contained in:
Twinaphex 2016-02-21 20:02:12 +01:00
commit cfe06ce730

View File

@ -548,6 +548,7 @@ static void init_swapchain(void)
vkAllocateMemory(device, &alloc, NULL, &vk.image_memory[i]);
vkBindImageMemory(device, vk.images[i].create_info.image, vk.image_memory[i], 0);
vk.images[i].create_info.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO;
vk.images[i].create_info.viewType = VK_IMAGE_VIEW_TYPE_2D;
vk.images[i].create_info.format = VK_FORMAT_R8G8B8A8_UNORM;
vk.images[i].create_info.subresourceRange.baseMipLevel = 0;