sponza debugging and fixes
This commit is contained in:
parent
708c46adc7
commit
e39ea0b80b
9 changed files with 64 additions and 34 deletions
4
build.rs
4
build.rs
|
@ -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, ©_options)?;
|
||||
|
||||
Ok(())
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue