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,
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;
}
/*****************************************************************************
......
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