Επεξεργασία

Κοινή χρήση μέσω


D1175: DXGI Target Must Not Use Software Flag

This type of rendertarget must be flagged as DEFAULT or HARDWARE.

 

Possible Causes

An application called ID2D1Factory::CreateDxgiSurfaceRenderTarget with a D2D1_RENDER_TARGET_PROPERTIES object whose type field was set to D2D1_RENDER_TARGET_TYPE_SOFTWARE. Direct2D considers this combination of specifiers to be incorrect, because the SOFTWARE flag is reserved for targets created using CreateWicBitmapRenderTarget and CreateHwndRenderTarget.

Possible Fixes

When using of CreateDxgiSurfaceRenderTarget, applications should specify D2D1_RENDER_TARGET_TYPE_HARDWARE.