diff --git a/piet-gpu-derive/src/glsl.rs b/piet-gpu-derive/src/glsl.rs index eb9b7fb..96cb3c3 100644 --- a/piet-gpu-derive/src/glsl.rs +++ b/piet-gpu-derive/src/glsl.rs @@ -536,7 +536,7 @@ fn gen_enum_write( } else { writeln!( r, - "void {}_{}_write(Alloc a, {}Ref ref, {} s) {{", + "void {}_{}_write({}Ref ref, {} s) {{", name, var_name, name, structname ) .unwrap();