gdiplus: Return error code of the failed API to the caller.
This commit is contained in:
parent
e9aef40c26
commit
62724c9d57
|
@ -3188,7 +3188,7 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
|
|||
GdipFree(src_data);
|
||||
GdipFree(dst_data);
|
||||
GdipDeleteMatrix(dst_to_src);
|
||||
return OutOfMemory;
|
||||
return stat;
|
||||
}
|
||||
|
||||
apply_image_attributes(imageAttributes, src_data,
|
||||
|
|
Loading…
Reference in New Issue