Fixes in examples: support swapchain image count change on resize, fix multiple validation layer errors on resize and quit, multiview now supports resize/fullscreen, computecloth deltaT now based on frame time, multisampling recreates attachments on resize, P key now pauses computeparticles, descriptorsets, and pushdescriptors
This commit is contained in:
parent
cb343c329a
commit
121612857c
10 changed files with 148 additions and 65 deletions
|
|
@ -126,6 +126,9 @@ public:
|
|||
|
||||
~VulkanExample()
|
||||
{
|
||||
// SRS - Ensure all operations on the device have finished before destroying resources
|
||||
vkDeviceWaitIdle(device);
|
||||
|
||||
// Clean up used Vulkan resources
|
||||
// Note: Inherited destructor cleans up resources stored in base class
|
||||
vkDestroyPipeline(device, pipeline, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue