You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch for stub of gdiplus.GdipCreateEffect.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
From d3a2292073b81e25e2c1571cea63022c4c396a67 Mon Sep 17 00:00:00 2001
|
||||
From: David Hedberg <david.hedberg@gmail.com>
|
||||
Date: Fri, 27 Feb 2015 01:17:01 +0100
|
||||
Subject: gdiplus: Add stub for GdipCreateEffect.
|
||||
|
||||
---
|
||||
dlls/gdiplus/gdiplus.spec | 2 +-
|
||||
dlls/gdiplus/image.c | 7 +++++++
|
||||
2 files changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
|
||||
index cee3ea6..bbe6c4c 100644
|
||||
--- a/dlls/gdiplus/gdiplus.spec
|
||||
+++ b/dlls/gdiplus/gdiplus.spec
|
||||
@@ -610,7 +610,7 @@
|
||||
610 stdcall GdipFindFirstImageItem(ptr ptr)
|
||||
611 stub GdipFindNextImageItem
|
||||
612 stdcall GdipGetImageItemData(ptr ptr)
|
||||
-613 stub GdipCreateEffect
|
||||
+613 stdcall GdipCreateEffect(ptr ptr)
|
||||
614 stdcall GdipDeleteEffect(ptr)
|
||||
615 stub GdipGetEffectParameterSize
|
||||
616 stub GdipGetEffectParameters
|
||||
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
|
||||
index e6921f5..d3f22dc 100644
|
||||
--- a/dlls/gdiplus/image.c
|
||||
+++ b/dlls/gdiplus/image.c
|
||||
@@ -137,6 +137,13 @@ static INT ipicture_pixel_width(IPicture *pic)
|
||||
return x;
|
||||
}
|
||||
|
||||
+GpStatus WINGDIPAPI GdipCreateEffect(const GUID guid, CGpEffect **effect)
|
||||
+{
|
||||
+ FIXME("(%s, %p): stub\n", debugstr_guid(&guid), effect);
|
||||
+ *effect = NULL;
|
||||
+ return NotImplemented;
|
||||
+}
|
||||
+
|
||||
GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap* bitmap, CGpEffect* effect,
|
||||
RECT* roi, BOOL useAuxData, VOID** auxData, INT* auxDataSize)
|
||||
{
|
||||
--
|
||||
2.3.0
|
||||
|
1
patches/gdiplus-GdipCreateEffect/definition
Normal file
1
patches/gdiplus-GdipCreateEffect/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [32163] Add stub for gdiplus.GdipCreateEffect
|
Reference in New Issue
Block a user