Adam Petaccia : gdiplus: Implement GdipCreateTexture2.
Alexandre Julliard
julliard at winehq.org
Tue Sep 2 08:33:17 CDT 2008
Module: wine
Branch: master
Commit: b6afa7a743f8d5143e319687a4a1a30e322adbee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6afa7a743f8d5143e319687a4a1a30e322adbee
Author: Adam Petaccia <adam at tpetaccia.com>
Date: Sun Aug 31 01:07:02 2008 -0400
gdiplus: Implement GdipCreateTexture2.
---
dlls/gdiplus/brush.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 3a991d2..57ff977 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -410,10 +410,14 @@ GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode,
GpStatus WINGDIPAPI GdipCreateTexture2(GpImage *image, GpWrapMode wrapmode,
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);
- return NotImplemented;
+ attributes.wrap = wrapmode;
+ return GdipCreateTextureIA(image, &attributes, x, y, width, height,
+ texture);
}
/* FIXME: imageattr ignored */
More information about the wine-cvs
mailing list