summaryrefslogtreecommitdiff
path: root/crates/teleia_macros
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-07 02:44:54 -0400
committerLLLL Colonq <llll@colonq>2026-06-07 02:44:54 -0400
commit2e3a20f515b96a8bb9b75051f89c913d3e3ddc86 (patch)
treebd7bd22d4cbe01a6a47b62c62687b376434e0ff9 /crates/teleia_macros
parentcfc7accbb1b4cddaa3ab53558d5067218afcdd0e (diff)
Fix postprocessing effect loading in macro
Diffstat (limited to 'crates/teleia_macros')
-rw-r--r--crates/teleia_macros/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/teleia_macros/src/lib.rs b/crates/teleia_macros/src/lib.rs
index af67541..77680dd 100644
--- a/crates/teleia_macros/src/lib.rs
+++ b/crates/teleia_macros/src/lib.rs
@@ -57,7 +57,7 @@ impl Designator {
Some(format!("teleia::shader::Shader::new(ctx, include_str!(\"{}/vert.glsl\"), include_str!(\"{}/frag.glsl\"))", i, i))
},
"effects" =>
- Some(format!("st.effect(ctx, include_bytes!(\"{}.glsl\"))", i)),
+ Some(format!("st.postprocessing.effect(ctx, include_str!(\"{}.glsl\")).unwrap()", i)),
_ => None,
}
}