From d3d8778542f6662843a69c59068aa64e6b99ba70 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Fri, 2 Feb 2018 23:58:24 +0100 Subject: [PATCH] Reduce debug warnings of Direct2D Debug Layer --- src/msw/graphicsd2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index 69a20f5730..5d562102b0 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -338,7 +338,7 @@ ID2D1Factory* wxD2D1Factory() #if defined(__WXDEBUG__) && defined(__VISUALC__) && wxCHECK_VISUALC_VERSION(11) if ( wxGetWinVersion() >= wxWinVersion_8 ) { - factoryOptions.debugLevel = D2D1_DEBUG_LEVEL_INFORMATION; + factoryOptions.debugLevel = D2D1_DEBUG_LEVEL_WARNING; } #endif //__WXDEBUG__