-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
3 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters