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 dxgi-SetMaximumFrameLatency patchset
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 012441a764762063b3037d060769fea4356a295c Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
Date: Wed, 18 Apr 2018 03:55:14 +0000
|
||||
Subject: [PATCH] dxgi: Return S_OK in SetMaximumFrameLatency
|
||||
|
||||
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
---
|
||||
dlls/dxgi/device.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/dxgi/device.c b/dlls/dxgi/device.c
|
||||
index c266cae..ee5f3e6 100644
|
||||
--- a/dlls/dxgi/device.c
|
||||
+++ b/dlls/dxgi/device.c
|
||||
@@ -262,7 +262,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_device_SetMaximumFrameLatency(IWineDXGIDev
|
||||
if (max_latency > DXGI_FRAME_LATENCY_MAX)
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
|
||||
- return E_NOTIMPL;
|
||||
+ return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT STDMETHODCALLTYPE dxgi_device_GetMaximumFrameLatency(IWineDXGIDevice *iface, UINT *max_latency)
|
||||
--
|
||||
1.9.1
|
||||
|
1
patches/dxgi-SetMaximumFrameLatency/definition
Normal file
1
patches/dxgi-SetMaximumFrameLatency/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [44061] Return S_OK from GetMaximumFrameLatency
|
Reference in New Issue
Block a user