This commit is contained in:
Branimir Karadžić
2018-09-04 17:27:43 -07:00
parent b4ab3dd95e
commit 6acd1a2c19
2 changed files with 7 additions and 4 deletions

View File

@@ -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);