Esme Povirk : gdiplus: Replace HDC check in GdipFlush.
Module: wine Branch: master Commit: ab2931797cf03258df0b50717b03a5f7bad3c9ca URL: https://gitlab.winehq.org/wine/wine/-/commit/ab2931797cf03258df0b50717b03a5f... Author: Esme Povirk <esme(a)codeweavers.com> Date: Sat May 4 19:54:34 2024 +0000 gdiplus: Replace HDC check in GdipFlush. --- dlls/gdiplus/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 4c12cc18f11..87971180d2d 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -4907,7 +4907,7 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention) /* We have no internal operation queue, so there's no need to clear it. */ - if (graphics->hdc) + if (has_gdi_dc(graphics)) GdiFlush(); return Ok;
participants (1)
-
Alexandre Julliard