Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ekisu
Copy link

@ekisu ekisu commented Sep 26, 2025

When a window is resized on Wayland, eSuboptimalKHR is not raised (unlike other platforms, apparently - see ocornut/imgui#7671), which meant the surface was never resized.

To fix this, I've added a specific check to see if the surface still matches the current window size; and if it doesn't it rebuilds the swapchain.

Fixes #3632

@github-actions github-actions bot added renderer Rendering related vulkan labels Sep 26, 2025
@ekisu ekisu force-pushed the fix/rebuild-swapchain branch from 890ff1a to ba09aa7 Compare September 26, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renderer Rendering related vulkan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Linux: Full screen cuts off UI

1 participant