diff options
| author | lbavoil <[email protected]> | 2017-01-23 09:55:05 +0100 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2017-01-23 09:55:05 +0100 |
| commit | 0e07a80f8c1443e047e283f30693cf708a3204ea (patch) | |
| tree | 460cb590a7dfc7d43a205f33fa0631f408b68940 /samples/D3D12/src/Viewer.cpp | |
| parent | Polish HLSL. No functional change. (diff) | |
| download | hbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.tar.xz hbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.zip | |
HBAO+ 3.1.0.21602716
Diffstat (limited to 'samples/D3D12/src/Viewer.cpp')
| -rw-r--r-- | samples/D3D12/src/Viewer.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/samples/D3D12/src/Viewer.cpp b/samples/D3D12/src/Viewer.cpp index 2ad4761..f7a7ffb 100644 --- a/samples/D3D12/src/Viewer.cpp +++ b/samples/D3D12/src/Viewer.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved. +* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation @@ -160,17 +160,6 @@ public: { CHK(CreateDXGIFactory1(IID_PPV_ARGS(mDxgiFactory.ReleaseAndGetAddressOf()))); -#if _DEBUG - ID3D12Debug* debug = nullptr; - D3D12GetDebugInterface(IID_PPV_ARGS(&debug)); - if (debug) - { - debug->EnableDebugLayer(); - debug->Release(); - debug = nullptr; - } -#endif /* _DEBUG */ - ZeroMemory(mFenceValues, sizeof(mFenceValues)); ID3D12Device* dev = nullptr; |