aboutsummaryrefslogtreecommitdiff
path: root/samples/AnselSDKIntegration/AnselSDKIntegration.cpp
diff options
context:
space:
mode:
authorDmitry Duka <[email protected]>2017-11-07 23:14:06 +0300
committerDmitry Duka <[email protected]>2017-11-07 23:14:33 +0300
commit6ef02ede3a7f2e2047afe4c15903fc4d6d701dbb (patch)
tree7afcf8a6243cda3f93ba9349c76acd9e662eda65 /samples/AnselSDKIntegration/AnselSDKIntegration.cpp
parentUpdating Ansel SDK to v1.5 (diff)
downloadanselsdk-6ef02ede3a7f2e2047afe4c15903fc4d6d701dbb.tar.xz
anselsdk-6ef02ede3a7f2e2047afe4c15903fc4d6d701dbb.zip
Addressing issue #2. Fixing Cleanup() function in the sample application.
Diffstat (limited to 'samples/AnselSDKIntegration/AnselSDKIntegration.cpp')
-rw-r--r--samples/AnselSDKIntegration/AnselSDKIntegration.cpp8
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();