From fe0d8a184134850bf1476096c09564290188d470 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 20 Jul 2021 17:04:12 +0300 Subject: [PATCH] Allow forcing D3D compiler loading. --- win_directx_helper/win_directx_helper.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win_directx_helper/win_directx_helper.cpp b/win_directx_helper/win_directx_helper.cpp index 36098dd..11bba5b 100644 --- a/win_directx_helper/win_directx_helper.cpp +++ b/win_directx_helper/win_directx_helper.cpp @@ -213,6 +213,10 @@ bool ResolveDXGI() { } // namespace } // namespace DirectX +bool DirectXResolveCompiler() { + return DirectX::ResolveD3DCompiler(); +} + namespace D = DirectX; extern "C" {