From a50ed4d05af79629f6304c86f8e464048cc7c09a Mon Sep 17 00:00:00 2001 From: TJnotJT Date: Tue, 14 Jul 2026 10:08:43 -0400 Subject: [PATCH] GS:HW: Fix regression with prefer_reuse texture fetching flag. Boolean value of the flag was not properly inverted in a refactor. Co-authored-by: t654132 --- pcsx2/GS/Renderers/Common/GSDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Common/GSDevice.cpp b/pcsx2/GS/Renderers/Common/GSDevice.cpp index dbb33cb5a9..f09e1dfc7c 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.cpp +++ b/pcsx2/GS/Renderers/Common/GSDevice.cpp @@ -805,7 +805,7 @@ GSTexture* GSDevice::CreateTexture(int w, int h, int mipmap_levels, GSTexture::F { pxAssert(mipmap_levels != 0 && (mipmap_levels < 0 || mipmap_levels <= GetMipmapLevelsForSize(w, h))); const int levels = mipmap_levels < 0 ? GetMipmapLevelsForSize(w, h) : mipmap_levels; - return FetchSurface(GSTexture::Texture, w, h, levels, format, false, m_features.prefer_new_textures && prefer_reuse); + return FetchSurface(GSTexture::Texture, w, h, levels, format, false, !m_features.prefer_new_textures || prefer_reuse); } GSTexture* GSDevice::CreateTexture(const GSVector2i& size, int mipmap_levels, GSTexture::Format format, bool prefer_reuse)