diff options
| author | Dmitry Duka <[email protected]> | 2017-11-07 23:14:06 +0300 |
|---|---|---|
| committer | Dmitry Duka <[email protected]> | 2017-11-07 23:14:22 +0300 |
| commit | 942d682a896849bc86c251d02f1f2967070d81db (patch) | |
| tree | 9d2f0e87f6fb7d8836d29197afe6804ec80b61e3 | |
| parent | Updating Ansel SDK to the latest revision (diff) | |
| download | anselsdk-942d682a896849bc86c251d02f1f2967070d81db.tar.xz anselsdk-942d682a896849bc86c251d02f1f2967070d81db.zip | |
Addressing issue #2. Fixing Cleanup() function in the sample application.
| -rw-r--r-- | samples/AnselSDKIntegration/AnselSDKIntegration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/AnselSDKIntegration/AnselSDKIntegration.cpp b/samples/AnselSDKIntegration/AnselSDKIntegration.cpp index 46876e1..4e1ba49 100644 --- a/samples/AnselSDKIntegration/AnselSDKIntegration.cpp +++ b/samples/AnselSDKIntegration/AnselSDKIntegration.cpp @@ -596,13 +596,13 @@ void CleanupDevice() if (g_pConstantBuffer) g_pConstantBuffer->Release();
if (g_pVertexBuffer) g_pVertexBuffer->Release();
if (g_pIndexBuffer) g_pIndexBuffer->Release();
- if (g_pHudVertexBuffer) g_pVertexBuffer->Release();
- if (g_pHudIndexBuffer) g_pIndexBuffer->Release();
+ if (g_pHudVertexBuffer) g_pHudVertexBuffer->Release();
+ if (g_pHudIndexBuffer) g_pHudIndexBuffer->Release();
if (g_pVertexLayout) g_pVertexLayout->Release();
if (g_pVertexShader) g_pVertexShader->Release();
if (g_pPixelShader) g_pPixelShader->Release();
- if (g_pHudVertexShader) g_pVertexShader->Release();
- if (g_pHudPixelShader) g_pPixelShader->Release();
+ if (g_pHudVertexShader) g_pHudVertexShader->Release();
+ if (g_pHudPixelShader) g_pHudPixelShader->Release();
if (g_pDepthStencil) g_pDepthStencil->Release();
if (g_pDepthStencilView) g_pDepthStencilView->Release();
if (g_pRenderTargetView) g_pRenderTargetView->Release();
|