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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for