update to a more recent version of sdl2. only tested on linux for now

0.35.2 is the latest version available via cargo right now, and that
version has some issues building for me that have been resolved in
subsequent commit(s). for some reason the maintainers have not pushed
a new version of sdl2 to cargo for quite some time despite numerous
fixes and updates being available ...? bah!

also the current sdl2 `features` set will probably only work for linux
builds. i will try to work out windows + mac build issues shortly
This commit is contained in:
Gered 2023-01-18 13:30:25 -05:00
parent 66bf1e40cc
commit 7c568fd09d
7 changed files with 7 additions and 8 deletions

View file

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd" }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }

View file

@ -6,5 +6,4 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd" }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }

View file

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd", features = [] }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }

View file

@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd", features = [] }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"

View file

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd" }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }

View file

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
anyhow = "=1.0.55"
libretrogd = { path = "../../libretrogd" }
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }

View file

@ -10,7 +10,7 @@ low_res = []
wide = []
[dependencies]
sdl2 = { version = "0.34.5", features = ["static-link", "bundled", "unsafe_textures" ] }
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
byte-slice-cast = "1.2.1"
byteorder = "1.4.3"
thiserror = "=1.0.30"