Reduce debug warnings of Direct2D Debug Layer
This commit is contained in:
parent
cf588d7a64
commit
d3d8778542
@ -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__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user