* demo: fix errors and warnings in GLFW Vulkan demo
* demo: improve resize handling in GLFW Vulkan demo
On my machine (x86_64 Linux, Wayland) VK_SUBOPTIMAL or
VK_OUT_OF_DATE_KHR were never returned so the resizing of the swapchain
never happened.
Fix by using GLFW's resize callback to detect a window resize and a
swapchain recreation. Vulkan tutorial uses the same approach.
fb_scale was never used in the Vulkan backend, so it was removed.
* demo: fix copy&paste typo in GLFW Vulkan demo
* demo: sync nuklear_glfw_vulkan.in.h with nuklear_glfw_vulkan.h
Over time people have not been noticing that the expected workflow is to
build nuklear_glfw_vulkan.h from nuklear_glfw_vulkan.in.h
All of the glfw demo headers unset shift keypresses when the ctrl key is not
also down.
I can't think of a reason this would be desired and it appears no other demo
code does this.
Unless I'm mistaken, simply removing these lines leaves us with the desired
behaviour.
The Vulkan spec states that create_info.minImageCount determines
the minimum number of images to create, not the exact count.
The count retrieved via vkGetSwapchainImagesKHR can (and in my
case does) differ - without penalty to the rest of the demo.