From c59bf5a6eab624dc8fe578e281b92246d62ff9ac Mon Sep 17 00:00:00 2001 From: "Hoppe, Mateusz" Date: Fri, 1 Feb 2019 08:32:25 +0100 Subject: [PATCH] Do not debugBreak when createAllocation fails with GRAPHICS_NO_VIDEO_MEMORY - this path is handled with host_ptr copy Change-Id: If3f2c49f3c43262e018a43aff9f1b538daefc577 --- runtime/os_interface/windows/wddm/wddm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/os_interface/windows/wddm/wddm.cpp b/runtime/os_interface/windows/wddm/wddm.cpp index 5dc519db53..27b666ae0e 100644 --- a/runtime/os_interface/windows/wddm/wddm.cpp +++ b/runtime/os_interface/windows/wddm/wddm.cpp @@ -503,7 +503,7 @@ NTSTATUS Wddm::createAllocationsAndMapGpuVa(OsHandleStorage &osHandles) { if (status != STATUS_SUCCESS) { DBG_LOG(PrintDebugMessages, __FUNCTION__, "status: ", status); - DEBUG_BREAK_IF(true); + DEBUG_BREAK_IF(status != STATUS_GRAPHICS_NO_VIDEO_MEMORY); break; } auto allocationIndex = 0;