|
|
|
@ -332,6 +332,7 @@ VkResult create_logical_device(
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
free(queue_families);
|
|
|
|
|
|
|
|
|
|
if(graphics_queue->family == 0xFFFFFFFF || present_queue->family == 0xFFFFFFFF || transfer_queue->family == 0xFFFFFFFF) {
|
|
|
|
|
return VK_ERROR_INITIALIZATION_FAILED;
|
|
|
|
@ -1348,6 +1349,8 @@ VkResult recreate_framebuffer(RenderContext* gpu) {
|
|
|
|
|
free(gpu->swapchain_images);
|
|
|
|
|
free(gpu->swapchain_image_views);
|
|
|
|
|
free(gpu->swapchain_framebuffers);
|
|
|
|
|
free(gpu->swapchain_details.formats);
|
|
|
|
|
free(gpu->swapchain_details.present_modes);
|
|
|
|
|
|
|
|
|
|
VK_RESULT(get_swapchain_details(
|
|
|
|
|
gpu->physical_device,
|
|
|
|
|