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

Skip to content

Conversation

@dylanblokhuis
Copy link
Contributor

Vulkan can always return more images than provided in .min_image_count(..).

Ref: https://gitlab.freedesktop.org/apinheiro/mesa/-/issues/9

Quotes by a comment in that issue:

From the Vulkan spec: minImageCount is the minimum number of presentable images that the application needs. The implementation will either create the swapchain with at least that many images(...)

@dylanblokhuis
Copy link
Contributor Author

I also added the unsafe blocks around set_var, since this is mandatory for rust edition 2024

@dylanblokhuis dylanblokhuis changed the title fix: remove debug assert for desired image count fix: remove debug assert for desired image count and set_var fix Mar 26, 2025
@attackgoat
Copy link
Owner

LGTM!

@attackgoat attackgoat merged commit 29abf22 into attackgoat:master Mar 26, 2025
3 checks passed
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.

2 participants