Skip to content

Commit

Permalink
MVKCommandPool: Release unused command buffers in trim().
Browse files Browse the repository at this point in the history
  • Loading branch information
js6i committed Oct 14, 2022
1 parent 1eb6a35 commit b2edd30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MoltenVK/MoltenVK/Commands/MVKCommandPool.mm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@

// Clear the command type pool member variables.
void MVKCommandPool::trim() {
_commandBufferPool.clear();
}


Expand Down

0 comments on commit b2edd30

Please sign in to comment.