Skip to content

Commit

Permalink
don't assert the shader dirs existence when creating paths
Browse files Browse the repository at this point in the history
  • Loading branch information
schell committed Dec 28, 2024
1 parent 1edf9df commit a1d1d8a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/renderling-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,7 @@ impl Default for RenderlingPaths {
let renderling_crate = cargo_workspace.join("crates").join("renderling");
log::debug!("cargo_manifest_dir: {renderling_crate:#?}");
let shader_dir = renderling_crate.join("shaders");
assert!(
shader_dir.is_dir(),
"missing directory '{}', you must first compile the shaders",
shader_dir.display()
);

let shader_manifest = shader_dir.join("manifest.json");
let linkage_dir = renderling_crate.join("src").join("linkage");

Expand Down

0 comments on commit a1d1d8a

Please sign in to comment.