gdiplus: Implement GdipFlush.
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 GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
{
- static int calls;
-
TRACE("(%p,%u)\n", graphics, intention);
if(!graphics)
@@ -2967,10 +2965,12 @@
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;
}
/*****************************************************************************