Skip to content

Commit

Permalink
Fix Isf.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 6, 2024
1 parent 7d16d68 commit eda3917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bevy_nannou/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
bevy = { workspace = true }
bevy = { workspace = true, features = ["jpeg"]}
bevy_nannou_draw = { path = "../bevy_nannou_draw" }
bevy_nannou_isf = { path = "../bevy_nannou_isf", optional = true }
bevy_nannou_video = { path = "../bevy_nannou_video", optional = true }
Expand Down
1 change: 0 additions & 1 deletion bevy_nannou_isf/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ impl AssetLoader for IsfLoader {
let isf = isf::parse(glsl_src).map_err(|e| IsfAssetLoaderError::Parse(e))?;
let glsl = glsl_string_from_isf(&isf);
let glsl = prefix_isf_glsl_str(&glsl, glsl_src.to_string());
info!("GLSL: {}", glsl);
let shader = Shader::from_glsl(glsl, ShaderStage::Fragment, file!());
let shader = load_context.add_labeled_asset(String::from("shader"), shader);

Expand Down

0 comments on commit eda3917

Please sign in to comment.