Surface: Add required extensions
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 25m20s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 25m20s
This commit is contained in:
parent
a295093c97
commit
285b194280
2 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ impl From<&App> for VulkanContext {
|
|||
world.get_resource::<DisplayHandleWrapper>().unwrap();
|
||||
|
||||
let enabled_extensions = Surface::required_extensions(&display_handle.0).unwrap();
|
||||
log::debug!("Surface required extensions: {enabled_extensions:?}");
|
||||
|
||||
let instance = utils::create_instance(library.clone(), enabled_extensions);
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ impl From<&EventLoop<()>> for VulkanContext {
|
|||
let library = load_library();
|
||||
|
||||
let enabled_extensions = Surface::required_extensions(event_loop).unwrap();
|
||||
log::debug!("Surface required extensions: {enabled_extensions:?}");
|
||||
|
||||
let instance = create_instance(library.clone(), enabled_extensions);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue