Module: wine Branch: master Commit: ade25060296a1498c50f48a230a3b0e79a136121 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ade25060296a1498c50f48a230...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Apr 2 09:19:13 2010 -0500
gdiplus: Implement GdipFlush.
---
dlls/gdiplus/graphics.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 3d5a961..18dae2d 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -2957,8 +2957,6 @@ GpStatus WINGDIPAPI GdipFillRegion(GpGraphics* graphics, GpBrush* brush,
GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention) { - static int calls; - TRACE("(%p,%u)\n", graphics, intention);
if(!graphics) @@ -2967,10 +2965,12 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention) if(graphics->busy) return ObjectBusy;
- if(!(calls++)) - FIXME("not implemented\n"); + /* We have no internal operation queue, so there's no need to clear it. */
- return NotImplemented; + if (graphics->hdc) + GdiFlush(); + + return Ok; }
/*****************************************************************************