Edit

Share via


D1191: GDI Compatible Bitmap Option Was Used Incorrectly

D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE must be combined with D2D1_BITMAP_OPTIONS_TARGET

 

Possible Causes

The application specified an incompatible combination of the D2D1_BITMAP_OPTIONS flags.

Possible Fixes

Add D2D1_BITMAP_OPTIONS_TARGET to the D2D1_BITMAP_OPTIONS flags.