[Gdiplus 3/7] Stub GdipCreateTexture2

Adam Petaccia adam at tpetaccia.com
Sun Aug 31 00:06:49 CDT 2008


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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 575d43d..5749fd2 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -381,6 +381,15 @@ GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode,
     return NotImplemented;
 }
 
+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,
+            x, y, width, height, 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 9879fc4..83c069b 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -131,7 +131,7 @@
 @ stdcall GdipCreateSolidFill(long ptr)
 @ stdcall GdipCreateStreamOnFile(ptr long ptr)
 @ stdcall GdipCreateStringFormat(long long ptr)
-@ stub GdipCreateTexture2
+@ stdcall GdipCreateTexture2(ptr long long long long long ptr)
 @ stub GdipCreateTexture2I
 @ stdcall GdipCreateTexture(ptr long ptr)
 @ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
-- 
1.5.4.3




More information about the wine-patches mailing list