sponza debugging and fixes

This commit is contained in:
Lauri Räsänen 2022-10-06 00:20:18 +03:00
parent 708c46adc7
commit e39ea0b80b
9 changed files with 64 additions and 34 deletions

View file

@ -4,7 +4,7 @@ use fs_extra::dir::CopyOptions;
use std::env;
fn main() -> Result<()> {
println!("cargo:rerun-if-changed=res/*");
println!("cargo:rerun-if-changed=res/**/*");
let out_dir = env::var("OUT_DIR")?;
let mut copy_options = CopyOptions::new();
@ -13,5 +13,5 @@ fn main() -> Result<()> {
paths_to_copy.push("res/");
copy_items(&paths_to_copy, out_dir, &copy_options)?;
Ok(())
return Ok(());
}