diff --git a/examples/raw_miniquad.rs b/examples/raw_miniquad.rs index 7ccc187b..88811db2 100644 --- a/examples/raw_miniquad.rs +++ b/examples/raw_miniquad.rs @@ -133,6 +133,7 @@ mod raw_miniquad { VertexAttribute::new("uv", VertexFormat::Float2), ], shader, + Default::default(), ); Stage { pipeline, bindings } diff --git a/particles/Cargo.toml b/particles/Cargo.toml index 59ee36aa..0d65bd04 100644 --- a/particles/Cargo.toml +++ b/particles/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macroquad-particles" -version = "0.2.0" +version = "0.2.1" authors = ["Fedor Logachev "] edition = "2018" license = "MIT/Apache-2.0" diff --git a/particles/src/lib.rs b/particles/src/lib.rs index 7d25d4c3..963b9d8e 100644 --- a/particles/src/lib.rs +++ b/particles/src/lib.rs @@ -575,7 +575,7 @@ impl Emitter { }; let blend_mode = config.blend_mode.blend_state(); - let pipeline = ctx.new_pipeline_with_params( + let pipeline = ctx.new_pipeline( &[ BufferLayout::default(), BufferLayout { @@ -614,7 +614,7 @@ impl Emitter { ) .unwrap(); - let post_processing_pipeline = ctx.new_pipeline_with_params( + let post_processing_pipeline = ctx.new_pipeline( &[BufferLayout::default(), BufferLayout::default()], &[ VertexAttribute::with_buffer("pos", VertexFormat::Float2, 0),