gdiplus: Implement GdipFlush.

This commit is contained in:
Vincent Povirk 2010-04-02 09:19:13 -05:00 committed by Alexandre Julliard
parent bc12cad570
commit ade2506029
1 changed files with 5 additions and 5 deletions

View File

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