Skip to content

Commit aace63f

Browse files
committed
4.1.0-alpha
1 parent 9e33166 commit aace63f

File tree

3 files changed

+23
-41
lines changed

3 files changed

+23
-41
lines changed

Cargo.lock

+18-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ rust-version = "1.68.2"
99
[dependencies]
1010
libc = "*"
1111
# projectm = "1.0.5"
12-
projectm = { path = "../projectm-rs", version = "2.0.1-alpha", features = [] }
12+
projectm = { path = "../projectm-rs", version = "4.1.0-alpha", features = [] }
1313
#projectm = { git = "https://github.com/projectM-visualizer/projectm" nd}
1414
# sdl3 = { git = "https://github.com/revmischa/sdl3-rs.git", features = ["use-bindgen"] }
15-
# sdl3 = "0.5.0"
16-
sdl3 = { path = "../../sdl3-rs", version = "0.6.0", features = ["use-bindgen"] }
15+
sdl3 = "0.5.0"
16+
# sdl3 = { path = "../../sdl3-rs", version = "0.6.0", features = ["use-bindgen"] }
1717
rand = "0.8.5"
1818
include_dir = "0.7.3"
1919
# gl = "0.14.0"

src/app.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ impl App {
6868
let playlist = projectm::playlist::Playlist::create(&pm);
6969

7070
// get/set window size
71-
let (width, height) = window.size_in_pixels();
71+
// let (width, height) = window.size_in_pixels();
72+
let (width, height) = window.size();
7273
pm.set_window_size(width.try_into().unwrap(), height.try_into().unwrap());
7374

7475
// initialize audio

0 commit comments

Comments
 (0)