pipeline and renderpass used auto release.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -204,7 +204,7 @@ DeviceRenderPassManage::~DeviceRenderPassManage()
|
||||
{
|
||||
delete (*obj)->right;
|
||||
|
||||
++obj;
|
||||
++obj;
|
||||
}
|
||||
|
||||
RenderPassList.Clear();
|
||||
|
Reference in New Issue
Block a user