From a834a4f9a41cb8440ca93bf0a0b2a9c6e7aebf57 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:06:49 +0100 Subject: [PATCH] Eliminate macOS Vulkan hint in SDL initialization (#690) Removed macOS-specific Vulkan library hint from SDL initialization. --- src/ui.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ui.rs b/src/ui.rs index 6a079db..57721c8 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -69,16 +69,6 @@ impl Drop for Ui { pub fn sdl_init(flag: sdl3_sys::init::SDL_InitFlags) { unsafe { - #[cfg(target_os = "macos")] - if flag & sdl3_sys::init::SDL_INIT_VIDEO != 0 { - sdl3_sys::everything::SDL_SetHint( - sdl3_sys::hints::SDL_HINT_VULKAN_LIBRARY, - std::ffi::CString::new("/opt/homebrew/lib/libvulkan.dylib") - .unwrap() - .as_ptr(), - ); - } - if sdl3_sys::init::SDL_WasInit(flag) == 0 && !sdl3_sys::init::SDL_InitSubSystem(flag) { let err = std::ffi::CStr::from_ptr(sdl3_sys::error::SDL_GetError()) .to_str()