Commit ade25060 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Implement GdipFlush.

parent bc12cad5
...@@ -2957,8 +2957,6 @@ GpStatus WINGDIPAPI GdipFillRegion(GpGraphics* graphics, GpBrush* brush, ...@@ -2957,8 +2957,6 @@ GpStatus WINGDIPAPI GdipFillRegion(GpGraphics* graphics, GpBrush* brush,
GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention) GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
{ {
static int calls;
TRACE("(%p,%u)\n", graphics, intention); TRACE("(%p,%u)\n", graphics, intention);
if(!graphics) if(!graphics)
...@@ -2967,10 +2965,12 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention) ...@@ -2967,10 +2965,12 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
if(graphics->busy) if(graphics->busy)
return ObjectBusy; return ObjectBusy;
if(!(calls++)) /* We have no internal operation queue, so there's no need to clear it. */
FIXME("not implemented\n");
return NotImplemented; if (graphics->hdc)
GdiFlush();
return Ok;
} }
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment