From eaa714644e2954dec91983504d9b379624e0f790 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 14 Mar 2021 19:40:27 +0100 Subject: [PATCH] correct signature generation of non-memory enum writer Signed-off-by: Elias Naur --- piet-gpu-derive/src/glsl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();