Fix some issues with freeing resources
This commit is contained in:
@@ -46,6 +46,7 @@ namespace OpenVulkano
|
||||
{
|
||||
device.freeCommandBuffers(cmdPool, 1, &cmdBuffer);
|
||||
device.destroyCommandPool(cmdPool);
|
||||
cmdPool = nullptr;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user