[PATCH 1/5] d2d1: Fix a typo.

Ziqing Hui zhui at codeweavers.com
Tue Mar 29 04:23:39 CDT 2022


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
 dlls/d2d1/factory.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index 737864df69c..3d3393e5f0c 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -597,7 +597,7 @@ static HRESULT STDMETHODCALLTYPE d2d_factory_GetEffectProperties(ID2D1Factory2 *
     return E_NOTIMPL;
 }
 
-static HRESULT STDMETHODCALLTYPE d2d_factory_ID2D1Factory1_CreateDevice(ID2D1Factory2 *iface, IDXGIDevice *dxgi_device,
+static HRESULT STDMETHODCALLTYPE d2d_factory_ID2D1Factory2_CreateDevice(ID2D1Factory2 *iface, IDXGIDevice *dxgi_device,
         ID2D1Device1 **device)
 {
     FIXME("iface %p, dxgi_device %p, device %p stub!\n", iface, dxgi_device, device);
@@ -634,7 +634,7 @@ static const struct ID2D1Factory2Vtbl d2d_factory_vtbl =
     d2d_factory_UnregisterEffect,
     d2d_factory_GetRegisteredEffects,
     d2d_factory_GetEffectProperties,
-    d2d_factory_ID2D1Factory1_CreateDevice,
+    d2d_factory_ID2D1Factory2_CreateDevice,
 };
 
 static HRESULT STDMETHODCALLTYPE d2d_factory_mt_QueryInterface(ID2D1Multithread *iface, REFIID iid, void **out)
-- 
2.25.1




More information about the wine-devel mailing list