Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes all examples to use at least two swapchain buffers #2218

Merged
merged 2 commits into from
Jun 2, 2023

Conversation

aedm
Copy link
Contributor

@aedm aedm commented Jun 1, 2023

Fixes Vulkano examples. They now all force at least double buffering. AMD drivers crash in full screen without this patch, because they report VkSurfaceCapabilitiesKHR.minImageCount = 1 which doesn't work in fullscreen.

This PR is an alternative to PR #2216. Only one of them should be merged.

Closes #1159

Changelog:

### Bugs fixed
- Vulkano examples crash on AMD GPUs in fullscreen on Windows.

@marc0246
Copy link
Contributor

marc0246 commented Jun 2, 2023

Thank you for this! 🙏

@marc0246 marc0246 merged commit cd9f081 into vulkano-rs:master Jun 2, 2023
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
…2218)

* Fixes all examples to use at least two swapchain buffers.

* Fix build error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows: Fullscreen makes acquire_next_image timeout
2 participants