[PATCH 2/4] d3d11: Immediate contexts don't support ID3D11DeviceContext::GetContextFlags().

Chip Davis cdavis at codeweavers.com
Wed May 13 16:59:49 CDT 2020


This returns the flags that were passed to
ID3D11Device::CreateDeferredContext(). It has no meaning for immediate
contexts, and there are no flags defined anyway.

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
---
 dlls/d3d11/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
index 01b32002408..207d3869c27 100644
--- a/dlls/d3d11/device.c
+++ b/dlls/d3d11/device.c
@@ -2408,7 +2408,7 @@ static D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE d3d11_immediate_context_GetTy
 
 static UINT STDMETHODCALLTYPE d3d11_immediate_context_GetContextFlags(ID3D11DeviceContext1 *iface)
 {
-    FIXME("iface %p stub!\n", iface);
+    WARN("iface %p called on immediate context.\n", iface);
 
     return 0;
 }
-- 
2.24.0




More information about the wine-devel mailing list