From 0e07a80f8c1443e047e283f30693cf708a3204ea Mon Sep 17 00:00:00 2001 From: lbavoil Date: Mon, 23 Jan 2017 09:55:05 +0100 Subject: HBAO+ 3.1.0.21602716 --- samples/D3D12/src/Viewer.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'samples/D3D12/src/Viewer.cpp') 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; -- cgit v1.2.3