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:
Stephen Saunders 2022-06-01 13:02:33 -04:00
parent cb343c329a
commit 121612857c
10 changed files with 148 additions and 65 deletions

View file

@ -901,7 +901,9 @@ public:
virtual void windowResized()
{
updateTextOverlay();
// SRS - Recreate text overlay resources in case number of swapchain images has changed on resize
delete textOverlay;
prepareTextOverlay();
}
#if !defined(__ANDROID__)
@ -917,4 +919,4 @@ public:
#endif
};
VULKAN_EXAMPLE_MAIN()
VULKAN_EXAMPLE_MAIN()