[PATCH] gdi32: Allow any mode passed to SetBkMode().

Huw Davies huw at codeweavers.com
Wed Oct 7 02:24:00 CDT 2020


On Tue, Oct 06, 2020 at 11:22:29PM -0500, Jeff Smith wrote:
> Signed-off-by: Jeff Smith <whydoubt at gmail.com>
> ---
> Testing revealed that SetBkMode() does not treat 'invalid' values as one
> might assume.  Discovered this when working on another issue.  Note that
> fixing this to match Windows simplifies one of the tests for that bug.

Which then begs the question: How should these invalid modes be
treated visually?

Since there doesn't appear to be a real application that
depends on this, we should keep things as they are.

Huw.



More information about the wine-devel mailing list