Merge pull request #644 from vtorri/master
d3d11 demo: release target view with ID3D11RenderTargetView_Release()…
This commit is contained in:
commit
9a8899fb29
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user