From 9d710cacebb003f96e9edd0c478a22361b987465 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 28 Jun 2025 11:00:48 +0100 Subject: [PATCH] fix: compilation errors --- .../Game/IW4/Material/DecompilingMaterialDumperIW4.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ObjWriting/Game/IW4/Material/DecompilingMaterialDumperIW4.cpp b/src/ObjWriting/Game/IW4/Material/DecompilingMaterialDumperIW4.cpp index ac5d1514..e6a5443d 100644 --- a/src/ObjWriting/Game/IW4/Material/DecompilingMaterialDumperIW4.cpp +++ b/src/ObjWriting/Game/IW4/Material/DecompilingMaterialDumperIW4.cpp @@ -9,6 +9,8 @@ #include #pragma warning(pop) +#include +#include #include #include #include @@ -564,7 +566,7 @@ namespace }; static inline BlendFuncParameters knownBlendFuncs[]{ - // Only considering passthrough statemap + // Only considering passthrough statemap {BlendFunc_e::ADD, BlendOp_e::ADD, CustomBlendFunc_e::ONE, @@ -601,8 +603,8 @@ namespace CustomBlendFunc_e::UNKNOWN, CustomBlendFunc_e::UNKNOWN}, - // TODO: Enable when using statemaps - // Considering default statemap + // TODO: Enable when using statemaps + // Considering default statemap {BlendFunc_e::ADD, BlendOp_e::ADD, CustomBlendFunc_e::ONE, @@ -624,7 +626,7 @@ namespace BlendOp_e::ADD, CustomBlendFunc_e::INV_DST_ALPHA, CustomBlendFunc_e::ONE }, - // REPLACE matches passthrough statemap + // REPLACE matches passthrough statemap {BlendFunc_e::SCREEN_ADD, BlendOp_e::ADD, CustomBlendFunc_e::INV_DST_COLOR,