mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From 8e284d9f96e2f3c623d6f520c530aaadad943fcd Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Sun, 22 Dec 2019 20:54:43 +1100
|
|
Subject: [PATCH 2/2] directmanipulation: Fake success in some functions
|
|
|
|
---
|
|
dlls/directmanipulation/directmanipulation.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dlls/directmanipulation/directmanipulation.c b/dlls/directmanipulation/directmanipulation.c
|
|
index 05601abbd45..b42c1f84387 100644
|
|
--- a/dlls/directmanipulation/directmanipulation.c
|
|
+++ b/dlls/directmanipulation/directmanipulation.c
|
|
@@ -357,7 +357,7 @@ static HRESULT WINAPI content_SetContentRect(IDirectManipulationContent *iface,
|
|
{
|
|
struct primarycontext *This = impl_from_IDirectManipulationContent(iface);
|
|
FIXME("%p, %p\n", This, size);
|
|
- return E_NOTIMPL;
|
|
+ return S_OK;
|
|
}
|
|
|
|
static HRESULT WINAPI content_GetViewport(IDirectManipulationContent *iface, REFIID riid, void **object)
|
|
@@ -540,7 +540,7 @@ static HRESULT WINAPI viewport_SetViewportRect(IDirectManipulationViewport2 *ifa
|
|
{
|
|
struct directviewport *This = impl_from_IDirectManipulationViewport2(iface);
|
|
FIXME("%p, %p\n", This, viewport);
|
|
- return E_NOTIMPL;
|
|
+ return S_OK;
|
|
}
|
|
|
|
static HRESULT WINAPI viewport_ZoomToRect(IDirectManipulationViewport2 *iface, const float left,
|
|
--
|
|
2.24.0
|
|
|