From 70673f87806d5ba2d86e24643c48133a9ab6beb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Andr=C3=A9?= Date: Thu, 21 Apr 2022 20:37:33 +0100 Subject: [PATCH] Fix Wine Compatibility --- SRLWrapper/Wrapper/D3D9.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SRLWrapper/Wrapper/D3D9.cs b/SRLWrapper/Wrapper/D3D9.cs index 57a62f1..a1f426c 100644 --- a/SRLWrapper/Wrapper/D3D9.cs +++ b/SRLWrapper/Wrapper/D3D9.cs @@ -20,7 +20,7 @@ static D3D9() Create = GetDelegate(RealHandler, "Direct3DCreate9", false); - CreateEx = GetDelegate(RealHandler, "Direct3DCreate9Ex", false); + CreateEx = GetDelegate(RealHandler, "Direct3DCreate9Ex", true); BeginEvent = GetDelegate(RealHandler, "D3DPERF_BeginEvent", true);