pipeline and renderpass used auto release.

This commit is contained in:
2021-11-30 19:33:01 +08:00
parent 8e3f60b120
commit 3c79a01a70
4 changed files with 5 additions and 7 deletions

View File

@@ -51,11 +51,11 @@ GPUDevice::GPUDevice(GPUDeviceAttribute *da)
GPUDevice::~GPUDevice()
{
ClearRenderPassManage();
SAFE_CLEAR(swapchainRT);
SAFE_CLEAR(swapchain);
ClearRenderPassManage();
SAFE_CLEAR(texture_queue);
SAFE_CLEAR(texture_cmd_buf);