Merge pull request #644 from vtorri/master

d3d11 demo: release target view with ID3D11RenderTargetView_Release()…
This commit is contained in:
Micha Mettke 2018-04-01 04:15:57 -07:00 committed by GitHub
commit 9a8899fb29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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