From 1a685b1c674a8af5963521dc8a3035b27c70401e Mon Sep 17 00:00:00 2001 From: Kaitlyn <87990853+BunniKaitlyn@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:50:27 -0400 Subject: [PATCH] Implement D3D11DXGIDevice::EnqueueSetEvent --- src/d3d11/d3d11_device.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index 2b9a82b9..863a9a31 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -3411,8 +3411,9 @@ namespace dxvk { HRESULT STDMETHODCALLTYPE D3D11DXGIDevice::EnqueueSetEvent(HANDLE hEvent) { - Logger::err("D3D11DXGIDevice::EnqueueSetEvent: Not implemented"); - return DXGI_ERROR_UNSUPPORTED; + auto immediateContext = m_d3d11Device.GetContext(); + immediateContext->Flush1(D3D11_CONTEXT_TYPE_ALL, hEvent); + return S_OK; }