mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Fix triangle example
This commit is contained in:
parent
b90e17cbcf
commit
174a17db90
@ -335,7 +335,7 @@ fn main() {
|
||||
|
||||
// We have to indicate which subpass of which render pass this pipeline is going to be used
|
||||
// in. The pipeline will only be usable from this particular subpass.
|
||||
render_pass: Subpass::from(&render_pass, 0).unwrap(),
|
||||
render_pass: Subpass::from(render_pass.clone(), 0).unwrap(),
|
||||
}).unwrap();
|
||||
|
||||
// The render pass we created above only describes the layout of our framebuffers. Before we
|
||||
|
Loading…
Reference in New Issue
Block a user