Finally appeased the compiler. Need to do some real cleaning up on the relationship between canvas and vk processor

This commit is contained in:
2019-08-11 15:56:24 -07:00
parent f06adc9a55
commit 8cd5e3e562
2 changed files with 7 additions and 7 deletions

View File

@@ -412,7 +412,7 @@ impl<'a> VkProcessor<'a> {
I can't replace canvas.
*/
self.canvas.draw_commands(&mut command_buffer, framebuffers, image_num);
let mut command_buffer = self.canvas.draw_commands(command_buffer, framebuffers, image_num);
//self.canvas = mem::replace(&mut self.canvas,