Module: wine Branch: master Commit: 7bdfb745ea22fe8417a6c9dfc981d0361c9be5a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7bdfb745ea22fe8417a6c9dfc9...
Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Mon Oct 9 17:28:37 2017 +0200
d3d9: Return success in d3d9_device_SetMaximumFrameLatency().
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/d3d9/device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index cd42cbc..50bba6b 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -3548,9 +3548,12 @@ static HRESULT WINAPI d3d9_device_CheckResourceResidency(IDirect3DDevice9Ex *ifa
static HRESULT WINAPI d3d9_device_SetMaximumFrameLatency(IDirect3DDevice9Ex *iface, UINT max_latency) { - FIXME("iface %p, max_latency %u stub!\n", iface, max_latency); + TRACE("iface %p, max_latency %u.\n", iface, max_latency);
- return E_NOTIMPL; + if (max_latency) + FIXME("Ignoring max_latency %u.\n", max_latency); + + return S_OK; }
static HRESULT WINAPI d3d9_device_GetMaximumFrameLatency(IDirect3DDevice9Ex *iface, UINT *max_latency)