Skip to content

Commit

Permalink
Remove mut from shader since current options no longer mutate shader
Browse files Browse the repository at this point in the history
  • Loading branch information
agg22 committed Jan 5, 2024
1 parent 261bddc commit 5d2fb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/preprocessor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub use ast::writer::Options;

pub fn preprocess(options: Options, mut shader: String) -> String {
pub fn preprocess(options: Options, shader: String) -> String {
if options.module_scope_constants {
panic!("module scope constants are not supported yet");
}
Expand Down

0 comments on commit 5d2fb91

Please sign in to comment.