Commit b6afa7a7 authored by Adam Petaccia's avatar Adam Petaccia Committed by Alexandre Julliard

gdiplus: Implement GdipCreateTexture2.

parent 7b3e6d01
...@@ -410,10 +410,14 @@ GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode, ...@@ -410,10 +410,14 @@ GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode,
GpStatus WINGDIPAPI GdipCreateTexture2(GpImage *image, GpWrapMode wrapmode, GpStatus WINGDIPAPI GdipCreateTexture2(GpImage *image, GpWrapMode wrapmode,
REAL x, REAL y, REAL width, REAL height, GpTexture **texture) REAL x, REAL y, REAL width, REAL height, GpTexture **texture)
{ {
FIXME("stub: %p %d %f %f %f %f %p\n", image, wrapmode, GpImageAttributes attributes;
TRACE("%p %d %f %f %f %f %p\n", image, wrapmode,
x, y, width, height, texture); x, y, width, height, texture);
return NotImplemented; attributes.wrap = wrapmode;
return GdipCreateTextureIA(image, &attributes, x, y, width, height,
texture);
} }
/* FIXME: imageattr ignored */ /* FIXME: imageattr ignored */
......
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