D1169: Discard Map Option Requires Dynamic Texture

D2D1_MAP_OPTIONS_DISCARD is only valid with a bitmap created from a dynamic texture.

 

Possible Causes

Direct2D may output this message if an application calls ID2D1Bitmap1::Map with the D2D1_MAP_OPTIONS_DISCARD attribute, but underlying Direct3D resource for the bitmap is not attributed with D3D11_USAGE_DYNAMIC.

Possible Fixes

If an application requires access to a bitmap using ID2D1Bitmap1::Map, ensure the underlying Direct3D resource has the D3D11_USAGE_DYNAMIC attribute.