From 4f27d779a1813c744062740c22ca0108ad65c405 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 19 Mar 2022 12:58:27 +1000 Subject: [PATCH] GS/DX11: Fix incorrect format check for compressed textures --- pcsx2/GS/Renderers/DX11/GSDevice11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/DX11/GSDevice11.cpp b/pcsx2/GS/Renderers/DX11/GSDevice11.cpp index fdade6344a..6920167119 100644 --- a/pcsx2/GS/Renderers/DX11/GSDevice11.cpp +++ b/pcsx2/GS/Renderers/DX11/GSDevice11.cpp @@ -31,7 +31,7 @@ static bool SupportsTextureFormat(ID3D11Device* dev, DXGI_FORMAT format) { UINT support; - if (FAILED(dev->CheckFormatSupport(DXGI_FORMAT_BC1_UNORM, &support))) + if (FAILED(dev->CheckFormatSupport(format, &support))) return false; return (support & D3D11_FORMAT_SUPPORT_TEXTURE2D) != 0;