Cleanup.
This commit is contained in:
parent
b4ab3dd95e
commit
6acd1a2c19
@ -1119,8 +1119,6 @@ namespace bgfx { namespace d3d11
|
||||
filter.DenyList.pIDList = idlist;
|
||||
|
||||
m_infoQueue->PushStorageFilter(&filter);
|
||||
|
||||
DX_RELEASE(m_infoQueue, 3);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1511,6 +1509,8 @@ namespace bgfx { namespace d3d11
|
||||
switch (errorState)
|
||||
{
|
||||
case ErrorState::LoadedDXGI:
|
||||
DX_RELEASE(m_annotation, 1);
|
||||
DX_RELEASE_WARNONLY(m_infoQueue, 0);
|
||||
DX_RELEASE(m_msaaRt, 0);
|
||||
DX_RELEASE(m_swapChain, 0);
|
||||
DX_RELEASE(m_deviceCtx, 0);
|
||||
@ -1597,6 +1597,7 @@ namespace bgfx { namespace d3d11
|
||||
}
|
||||
|
||||
DX_RELEASE(m_annotation, 1);
|
||||
DX_RELEASE_WARNONLY(m_infoQueue, 0);
|
||||
DX_RELEASE(m_msaaRt, 0);
|
||||
DX_RELEASE(m_swapChain, 0);
|
||||
DX_RELEASE(m_deviceCtx, 0);
|
||||
|
@ -979,8 +979,6 @@ namespace bgfx { namespace d3d12
|
||||
filter.DenyList.NumCategories = BX_COUNTOF(catlist);
|
||||
filter.DenyList.pCategoryList = catlist;
|
||||
m_infoQueue->PushStorageFilter(&filter);
|
||||
|
||||
DX_RELEASE_WARNONLY(m_infoQueue, 0);
|
||||
}
|
||||
}
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
@ -1364,6 +1362,10 @@ namespace bgfx { namespace d3d12
|
||||
m_textures[ii].destroy();
|
||||
}
|
||||
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
DX_RELEASE_WARNONLY(m_infoQueue, 0);
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
|
||||
DX_RELEASE(m_rtvDescriptorHeap, 0);
|
||||
DX_RELEASE(m_dsvDescriptorHeap, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user