d3d11 demo: release target view with ID3D11RenderTargetView_Release() and not with ID3D11ShaderResourceView_Release()

pull/644/head
Vincent Torri 2018-03-14 10:14:17 +01:00
parent 30a5709e0a
commit 602ad7d6f9
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ int main(void)
ID3D11DeviceContext_ClearState(context);
nk_d3d11_shutdown();
ID3D11ShaderResourceView_Release(rt_view);
ID3D11RenderTargetView_Release(rt_view);
ID3D11DeviceContext_Release(context);
ID3D11Device_Release(device);
IDXGISwapChain_Release(swap_chain);