Skip to content

Commit

Permalink
fix external_memory_win32
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Oct 30, 2024
1 parent 0b9e28c commit efd70d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1545,8 +1545,8 @@ impl super::Instance {
image_format_list: phd_capabilities.device_api_version >= vk::API_VERSION_1_2
|| phd_capabilities.supports_extension(khr::image_format_list::NAME),
#[cfg(windows)]
external_memory_win32: phd_capabilities.device_api_version >= vk::API_VERSION_1_1
|| phd_capabilities.supports_extension(khr::external_memory_win32::NAME),
external_memory_win32: phd_capabilities
.supports_extension(khr::external_memory_win32::NAME),
};
let capabilities = crate::Capabilities {
limits: phd_capabilities.to_wgpu_limits(),
Expand Down

0 comments on commit efd70d0

Please sign in to comment.