aboutsummaryrefslogtreecommitdiff
path: root/samples/D3D12/src/Viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/D3D12/src/Viewer.cpp')
-rw-r--r--samples/D3D12/src/Viewer.cpp13
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;