forked from vulkano-rs/vulkano
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix physical device surface querying regression vulkano-rs#2026 by re…
…moving surface caching (vulkano-rs#2027) * removed cache check for PhysicalDevice::surface_capabilities_unchecked, fixing window resize bug * Fixed bug where new caching functionality caused surface queries to be out of date. surface_capabilities, surface_formats, surface_present_modes and surface_support are no longer cached as it is proven that surface properties can change at runtime for a given surface/physical device. * Re-added caching for VK_KHR_surface structs surface_formats, surface_present_modes and surface_support, because unlike surface_capabilities, it is almost certain they won't change at runtime. * remove surface_capabilities cache from macos/ios to fix builds
- Loading branch information
1 parent
6740142
commit 32ecdc6
Showing
2 changed files
with
125 additions
and
154 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
Oops, something went wrong.