Adam Petaccia : gdiplus: Stub GdipCreateTexture2I.
Alexandre Julliard
julliard at winehq.org
Tue Sep 2 08:33:17 CDT 2008
Module: wine
Branch: master
Commit: cb88bbd1765d713014b9c8ba933563ce7f0dd1d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb88bbd1765d713014b9c8ba933563ce7f0dd1d8
Author: Adam Petaccia <adam at tpetaccia.com>
Date: Sun Aug 31 01:06:54 2008 -0400
gdiplus: Stub GdipCreateTexture2I.
---
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 5749fd2..ae7266e 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -511,6 +511,14 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttrib
return GdipCreateTextureIA(image,imageattr,(REAL)x,(REAL)y,(REAL)width,(REAL)height,texture);
}
+GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage *image, GpWrapMode wrapmode,
+ INT x, INT y, INT width, INT height, GpTexture **texture)
+{
+ FIXME("stub: %p %d %d %d %d %d %p", image, wrapmode, x, y, width, height, texture);
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
{
if(!brush || !type) return InvalidParameter;
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 83c069b..97ab0c6 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -132,7 +132,7 @@
@ stdcall GdipCreateStreamOnFile(ptr long ptr)
@ stdcall GdipCreateStringFormat(long long ptr)
@ stdcall GdipCreateTexture2(ptr long long long long long ptr)
-@ stub GdipCreateTexture2I
+@ stdcall GdipCreateTexture2I(ptr long long long long long ptr)
@ stdcall GdipCreateTexture(ptr long ptr)
@ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
@ stdcall GdipCreateTextureIAI(ptr ptr long long long long ptr)
More information about the wine-cvs
mailing list