From eca8c82ea83274d491369ad227fb47b772f1a0d3 Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Tue, 25 Jun 2024 21:34:34 +0200 Subject: [PATCH] Fix Direct3D9 build, which broke after "Instead of having to deal with unsupported formats, lets just remove the whole EmuPC2XB_D3DFormat function..." --- src/gui/WndMain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/WndMain.cpp b/src/gui/WndMain.cpp index 885008d5e..0269b2628 100644 --- a/src/gui/WndMain.cpp +++ b/src/gui/WndMain.cpp @@ -42,7 +42,8 @@ #include "DlgLoggingConfig.h" #include "common\xbe\XbePrinter.h" // For DumpInformation #include "EmuShared.h" -#include "core\hle\D3D8\Direct3D9\Direct3D9.h" // For CxbxSetPixelContainerHeader +#include "core\hle\D3D8\Direct3D9\Direct3D9.h" // For DDPF_FOURCC +#include "core\hle\D3D8\XbConvert.h" // For CxbxSetPixelContainerHeader, ConvertD3DTextureToARGB #include "common\Settings.hpp" #include "common/util/cliConfig.hpp" #include "common/win32/WineEnv.h"