Module: wine
Branch: master
Commit: 77f5a07c1bd351524fe294b051aee7f37a7f77ba
URL: http://source.winehq.org/git/wine.git/?a=commit;h=77f5a07c1bd351524fe294b05…
Author: Vincent Povirk <vincent(a)codeweavers.com>
Date: Thu Mar 10 16:17:20 2011 -0600
gdiplus: Remove gdi32 fallback for bitmaps from GdipFillRegion.
We can always do a fill directly to the image bits when gdi32 can do it.
---
dlls/gdiplus/graphics.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 29dea0a..4d059f8 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3919,9 +3919,6 @@ GpStatus WINGDIPAPI GdipFillRegion(GpGraphics* graphics, GpBrush* brush,
if (stat == NotImplemented)
stat = SOFTWARE_GdipFillRegion(graphics, brush, region);
- if (stat == NotImplemented && graphics->image)
- stat = GDI32_GdipFillRegion(graphics, brush, region);
-
if (stat == NotImplemented)
{
FIXME("not implemented for brushtype %i\n", brush->bt);