We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcc19e commit ed2603cCopy full SHA for ed2603c
src/main.rs
@@ -50,7 +50,7 @@ fn main() -> Result<(), String> {
50
51
unsafe {
52
projectm_rs::projectm_select_random_preset(projectm_handle, true);
53
- projectm_rs::projectm_set_window_size(projectm_handle, settings.window_width.try_into().unwrap(), settings.window_height.try_into().unwrap())
+ projectm_rs::projectm_set_window_size(projectm_handle, 800, 600)
54
}
55
println!("projectm initialized!");
56
@@ -79,9 +79,7 @@ fn main() -> Result<(), String> {
79
projectm_rs::projectm_render_frame(projectm_handle);
80
81
82
-
83
84
- canvas.clear();
+ // present/render
85
canvas.present();
86
87
0 commit comments