diff options
| author | Dmitry Duka <[email protected]> | 2017-12-25 16:33:19 +0300 |
|---|---|---|
| committer | Dmitry Duka <[email protected]> | 2017-12-25 16:33:19 +0300 |
| commit | 9a3873353d4828cfdb6cca813dbb0f27f0e4f325 (patch) | |
| tree | 29a64ad93240728e990f4c298a09dbcb5e394ba7 /samples/AnselSDKIntegration/AnselSDKIntegration.cpp | |
| parent | Merge branch 'master' of https://github.com/NVIDIAGameWorks/AnselSDK (diff) | |
| download | anselsdk-9a3873353d4828cfdb6cca813dbb0f27f0e4f325.tar.xz anselsdk-9a3873353d4828cfdb6cca813dbb0f27f0e4f325.zip | |
Updating Ansel SDK 1.5, no functional changes. Fixing startSession/stopSession not being exported.
Diffstat (limited to 'samples/AnselSDKIntegration/AnselSDKIntegration.cpp')
| -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 4e1ba49..46876e1 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_pHudVertexBuffer->Release();
- if (g_pHudIndexBuffer) g_pHudIndexBuffer->Release();
+ if (g_pHudVertexBuffer) g_pVertexBuffer->Release();
+ if (g_pHudIndexBuffer) g_pIndexBuffer->Release();
if (g_pVertexLayout) g_pVertexLayout->Release();
if (g_pVertexShader) g_pVertexShader->Release();
if (g_pPixelShader) g_pPixelShader->Release();
- if (g_pHudVertexShader) g_pHudVertexShader->Release();
- if (g_pHudPixelShader) g_pHudPixelShader->Release();
+ if (g_pHudVertexShader) g_pVertexShader->Release();
+ if (g_pHudPixelShader) g_pPixelShader->Release();
if (g_pDepthStencil) g_pDepthStencil->Release();
if (g_pDepthStencilView) g_pDepthStencilView->Release();
if (g_pRenderTargetView) g_pRenderTargetView->Release();
|