From 83ba76a5ae969632505c056240f90a9b5ca1281d Mon Sep 17 00:00:00 2001 From: Alula <6276139+alula@users.noreply.github.com> Date: Wed, 28 Aug 2024 22:16:36 +0200 Subject: [PATCH] Remove SDL_image link hack --- Cargo.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 38ac724..b0665ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -96,10 +96,6 @@ wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "aadca17885e60ee4527d winit = { version = "0.30.2", optional = true, default-features = false, features = ["x11"] } xmltree = "0.10" -#hack to not link SDL_image on Windows(causes a linker error) -[target.'cfg(not(target_os = "windows"))'.dependencies] -sdl2 = { version = "0.37", optional = true, features = ["image", "unsafe_textures", "bundled", "static-link", "raw-window-handle", "use-bindgen"] } - [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3", features = ["winuser"] }