There was an error while loading. Please reload this page.
1 parent 143b048 commit f1f8fbbCopy full SHA for f1f8fbb
1 file changed
wgpu-hal/src/vulkan/instance.rs
@@ -313,14 +313,12 @@ impl super::Instance {
313
extensions.push(khr::surface::NAME);
314
315
// Platform-specific WSI extensions
316
- //
317
- // Note: OpenHarmony (`target_env = "ohos"`) reports `target_os = "linux"` and is
318
- // unix, but has neither X11 nor Wayland. It must be excluded here and uses
319
- // `VK_OHOS_surface` instead (see below).
320
if cfg!(all(
321
unix,
322
not(target_os = "android"),
323
not(target_os = "macos"),
+ // NOTE: OpenHarmony (`target_env = "ohos"`) reports `target_os = "linux"` and is
+ // unix, but has neither X11 nor Wayland.
324
not(target_env = "ohos")
325
)) {
326
// VK_KHR_xlib_surface
0 commit comments