GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

Why can't the user recreate swapchains? #108

Closed Euxiniar closed 5 years ago

Euxiniar commented 5 years ago

Why, for the moment, the user hasn't the ability to recreate the swapchains ? For the moment, the present function returns an assertion error, in the case of a VK_ERROR_OUT_OF_DATE_KHR report of the present_queue. I don't understand this choice.

I think you should clear the line 848 int the queue.cpp file, to allow the user to recreate the swapchains, in a VK_ERROR_OUT_OF_DATE_KHR case.