D1188: CPU Read And Target Bitmap Options Are Incompatible

D2D1_BITMAP_OPTIONS_CPU_READ is not compatible with D2D1_BITMAP_OPTIONS_TARGET.

 

Possible Causes

The application specified an incompatible combination of the D2D1_BITMAP_OPTIONS flags.

Possible Fixes

Remove D2D1_BITMAP_OPTIONS_CPU_READ or D2D1_BITMAP_OPTIONS_TARGET from the flags. If the application needs both options, it should create two separate bitmaps.