Adam Petaccia : gdiplus: Stub GdipCreateTexture.

Alexandre Julliard julliard at winehq.org
Tue Sep 2 08:33:16 CDT 2008


Module: wine
Branch: master
Commit: 406c5d3f4ddf2da60740a695eb94b34401db3ec0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=406c5d3f4ddf2da60740a695eb94b34401db3ec0

Author: Adam Petaccia <adam at tpetaccia.com>
Date:   Sun Aug 31 01:06:42 2008 -0400

gdiplus: Stub GdipCreateTexture.

---

 dlls/gdiplus/brush.c      |    8 ++++++++
 dlls/gdiplus/gdiplus.spec |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index a4ced49..575d43d 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -373,6 +373,14 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf)
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode,
+        GpTexture **texture)
+{
+    FIXME("stub: %p, %d %p\n", image, wrapmode, texture);
+
+    return NotImplemented;
+}
+
 /* FIXME: imageattr ignored */
 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
     GDIPCONST GpImageAttributes *imageattr, REAL x, REAL y, REAL width,
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 848402d..9879fc4 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -133,7 +133,7 @@
 @ stdcall GdipCreateStringFormat(long long ptr)
 @ stub GdipCreateTexture2
 @ stub GdipCreateTexture2I
-@ stub GdipCreateTexture
+@ stdcall GdipCreateTexture(ptr long ptr)
 @ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
 @ stdcall GdipCreateTextureIAI(ptr ptr long long long long ptr)
 @ stdcall GdipDeleteBrush(ptr)




More information about the wine-cvs mailing list