D1167: Read Map Option Requires CPU Readable Bitmap

D2D1_MAP_OPTIONS_READ is only valid on a CPU readable bitmap

 

Possible Causes

Direct2D may output this message if an application calls ID2D1Bitmap1::Map with the D2D1_MAP_OPTIONS_READ attribute, but the bitmap is not CPU-readable.

Possible Fixes

If an application requires read access using ID2D1Bitmap1::Map, create the bitmap using the D2D1_BITMAP_OPTIONS_CPU_READ option.