Commit b733e39a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: Add a helper to check for metafile graphics context.

parent 81b7555d
...@@ -2239,6 +2239,7 @@ GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage *image, ...@@ -2239,6 +2239,7 @@ GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage *image,
if (stat == Ok) if (stat == Ok)
{ {
(*graphics)->image = image; (*graphics)->image = image;
(*graphics)->image_type = image->type;
(*graphics)->xres = image->xres; (*graphics)->xres = image->xres;
(*graphics)->yres = image->yres; (*graphics)->yres = image->yres;
} }
......
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