From a32effff1cf2c649aaa762c0e06aae3271cff611 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 8 Dec 2023 09:44:40 -0600 Subject: [PATCH] add missing result in texture tool --- Source/Engine/Tools/TextureTool/TextureTool.DirectXTex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Tools/TextureTool/TextureTool.DirectXTex.cpp b/Source/Engine/Tools/TextureTool/TextureTool.DirectXTex.cpp index 475fa50de..dc5b0be49 100644 --- a/Source/Engine/Tools/TextureTool/TextureTool.DirectXTex.cpp +++ b/Source/Engine/Tools/TextureTool/TextureTool.DirectXTex.cpp @@ -663,7 +663,7 @@ bool TextureTool::ImportTextureDirectXTex(ImageType type, const StringView& path { auto& tmpImg = GET_TMP_IMG(); - TransformImage(currentImage->GetImages(), currentImage->GetImageCount(), currentImage->GetMetadata(), + result = TransformImage(currentImage->GetImages(), currentImage->GetImageCount(), currentImage->GetMetadata(), [](DirectX::XMVECTOR* outPixels, const DirectX::XMVECTOR* inPixels, size_t width, size_t y) { UNREFERENCED_PARAMETER(y);