1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

d3d12: Fix build in debug

This commit is contained in:
Vincent Lejeune 2015-10-08 03:05:42 +02:00
parent ceab44b9ab
commit 4cd9e5754e

View File

@ -93,8 +93,7 @@ void D3D12GSRender::ResourceStorage::WaitAndClean()
void D3D12GSRender::ResourceStorage::Release() void D3D12GSRender::ResourceStorage::Release()
{ {
for (auto tmp : m_dirtyTextures) m_dirtyTextures.clear();
tmp->Release();
// NOTE: Should be released only after gfx pipeline last command has been finished. // NOTE: Should be released only after gfx pipeline last command has been finished.
CloseHandle(m_frameFinishedHandle); CloseHandle(m_frameFinishedHandle);
} }