mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 13:19:53 +00:00
gdiplus: Do not use hdc directly in get_graphics_bounds.
This commit is contained in:
parent
8cc552a123
commit
b95a40a28f
|
@ -2268,7 +2268,7 @@ static GpStatus get_graphics_bounds(GpGraphics* graphics, GpRectF* rect)
|
|||
{
|
||||
GpStatus stat = get_graphics_device_bounds(graphics, rect);
|
||||
|
||||
if (stat == Ok && graphics->hdc)
|
||||
if (stat == Ok && has_gdi_dc(graphics))
|
||||
{
|
||||
GpPointF points[4], min_point, max_point;
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue