[PATCH V2 2/2] gdiplus: keep temporary dc from being released.

Shawn M. Chapla schapla at codeweavers.com
Mon Jun 22 09:25:08 CDT 2020


>          graphics->temp_hbitmap = hbitmap;
> +        if(graphics->temp_hdc)
> +            DeleteDC(graphics->temp_hdc);
> +
>          *hdc = graphics->temp_hdc = temp_hdc;
>      }

It looks like this may conflict with a patch set I recently submitted to
preserve temporary HDC state across calls to GdipReleaseDC and
GdipGetDC. That said, I've run the new tests from the first commit in
this patch set with my changes in place and they do pass, so maybe they
will fix whatever bad behavior this patch is trying to solve as well.

--Shawn



More information about the wine-devel mailing list