diff options
Diffstat (limited to 'samples/D3D12')
| -rw-r--r-- | samples/D3D12/src/BinMeshReader.h | 2 | ||||
| -rw-r--r-- | samples/D3D12/src/Viewer.cpp | 13 |
2 files changed, 2 insertions, 13 deletions
diff --git a/samples/D3D12/src/BinMeshReader.h b/samples/D3D12/src/BinMeshReader.h index 2b1679b..90f0719 100644 --- a/samples/D3D12/src/BinMeshReader.h +++ b/samples/D3D12/src/BinMeshReader.h @@ -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 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; |