From 7bd0e267225d96d40feb64b8bc3759dde90549ef Mon Sep 17 00:00:00 2001 From: Vlad Kolesnikov Date: Fri, 17 Nov 2017 12:29:38 -0800 Subject: [PATCH] Exclude D3D11_CREATE_DEVICE_DEBUG flag for Mixed Reality apps D3D11_CREATE_DEVICE_DEBUG flag causes issues when running on a holographic device. Commenting it out until the issue is fixed. --- Samples/360VideoPlayback/cpp/Common/DeviceResources.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Samples/360VideoPlayback/cpp/Common/DeviceResources.cpp b/Samples/360VideoPlayback/cpp/Common/DeviceResources.cpp index 08df6b75fd..8871deb64c 100644 --- a/Samples/360VideoPlayback/cpp/Common/DeviceResources.cpp +++ b/Samples/360VideoPlayback/cpp/Common/DeviceResources.cpp @@ -131,7 +131,8 @@ void DX::DeviceResources::CreateDeviceResources() if (DX::SdkLayersAvailable()) { // If the project is in a debug build, enable debugging via SDK Layers with this flag. - creationFlags |= D3D11_CREATE_DEVICE_DEBUG; + // Commenting out until the debug layer bug is fixed + // creationFlags |= D3D11_CREATE_DEVICE_DEBUG; } #endif