mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Refactored tests/ and added test for VideoSubsys
This commit is contained in:
@@ -27,7 +27,7 @@ impl AudioCallback for Sound {
|
||||
|
||||
fn main() {
|
||||
let wav_file : Cow<'static, Path> = match std::env::args().nth(1) {
|
||||
None => Cow::from(Path::new("./tests/sine.wav")),
|
||||
None => Cow::from(Path::new("./assets/sine.wav")),
|
||||
Some(s) => Cow::from(PathBuf::from(s))
|
||||
};
|
||||
let sdl_context = sdl2::init().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user