engine: release encoder properly (#1068)
This commit is contained in:
parent
c03673ff05
commit
6d825284f7
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ pub const Engine = struct {
|
|||
|
||||
var command = engine.state.encoder.finish(null);
|
||||
defer command.release();
|
||||
engine.state.encoder.release();
|
||||
engine.state.queue.submit(&[_]*gpu.CommandBuffer{command});
|
||||
|
||||
// Prepare for next pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue