From: Esme Povirk <esme(a)codeweavers.com> --- dlls/gdiplus/graphics.c | 2 +- dlls/gdiplus/tests/graphics.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 14dfb41376b..86c156354ef 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -6908,7 +6908,7 @@ GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics *graphics, GDIPCONST G } /* Color used to fill bitmaps so we can tell which parts have been drawn over by gdi32. */ -static const COLORREF DC_BACKGROUND_KEY = 0x0c0b0d; +static const COLORREF DC_BACKGROUND_KEY = 0x0d0b0c; GpStatus WINGDIPAPI GdipGetDC(GpGraphics *graphics, HDC *hdc) { diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 4af7f179ec2..ff6a64e1fb5 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -2699,7 +2699,7 @@ static void test_fromMemoryBitmap(void) color = GetPixel(hdc, 0, 0); /* The HDC is write-only, and native fills with a solid color to figure out * which pixels have changed. */ - todo_wine expect(0x0c0b0d, color); + expect(0x0c0b0d, color); SetPixel(hdc, 0, 0, 0x797979); SetPixel(hdc, 1, 0, 0x0c0b0d); @@ -2710,7 +2710,7 @@ static void test_fromMemoryBitmap(void) GdipDeleteGraphics(graphics); expect(0x79, bits[0]); - todo_wine expect(0x68, bits[3]); + expect(0x68, bits[3]); GdipDisposeImage((GpImage*)bitmap); @@ -2747,7 +2747,7 @@ static void test_fromMemoryBitmap(void) ok(hdc != NULL, "got NULL hdc\n"); color = GetPixel(hdc, 0, 0); - todo_wine expect(0x0c0b0d, color); + expect(0x0c0b0d, color); status = GdipReleaseDC(graphics, hdc); expect(Ok, status); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5617