Reduce debug warnings of Direct2D Debug Layer

This commit is contained in:
Maarten Bent 2018-02-02 23:58:24 +01:00
parent cf588d7a64
commit d3d8778542

View File

@ -338,7 +338,7 @@ ID2D1Factory* wxD2D1Factory()
#if defined(__WXDEBUG__) && defined(__VISUALC__) && wxCHECK_VISUALC_VERSION(11) #if defined(__WXDEBUG__) && defined(__VISUALC__) && wxCHECK_VISUALC_VERSION(11)
if ( wxGetWinVersion() >= wxWinVersion_8 ) if ( wxGetWinVersion() >= wxWinVersion_8 )
{ {
factoryOptions.debugLevel = D2D1_DEBUG_LEVEL_INFORMATION; factoryOptions.debugLevel = D2D1_DEBUG_LEVEL_WARNING;
} }
#endif //__WXDEBUG__ #endif //__WXDEBUG__