summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/CustomTextureData.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-03-10 15:06:19 -0400
committerGitHub <noreply@github.com>2025-03-10 15:06:19 -0400
commit5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (patch)
tree946de379d9606f4ba12e76f8bec7483fc282833c /Source/Core/VideoCommon/Assets/CustomTextureData.cpp
parentd45e6c67293f10be4159d4e222ad3e903d7a835b (diff)
parentc18c039089bdc27cbccf92a9053ed80bb161a9b9 (diff)
Merge pull request #13403 from jordan-woyak/backend_info
VideoCommon: Move backend_info out of VideoConfig struct.
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomTextureData.cpp')
-rw-r--r--Source/Core/VideoCommon/Assets/CustomTextureData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomTextureData.cpp b/Source/Core/VideoCommon/Assets/CustomTextureData.cpp
index d30532142a..8d21dc2139 100644
--- a/Source/Core/VideoCommon/Assets/CustomTextureData.cpp
+++ b/Source/Core/VideoCommon/Assets/CustomTextureData.cpp
@@ -360,7 +360,7 @@ static bool ParseDDSHeader(File::IOFile& file, DDSLoadInfo* info)
info->format = AbstractTextureFormat::BPTC;
info->block_size = 4;
info->bytes_per_block = 16;
- if (!g_ActiveConfig.backend_info.bSupportsBPTCTextures)
+ if (!g_backend_info.bSupportsBPTCTextures)
return false;
}
else
@@ -418,7 +418,7 @@ static bool ParseDDSHeader(File::IOFile& file, DDSLoadInfo* info)
// We also need to ensure the backend supports these formats natively before loading them,
// otherwise, fallback to SOIL, which will decompress them to RGBA.
- if (needs_s3tc && !g_ActiveConfig.backend_info.bSupportsST3CTextures)
+ if (needs_s3tc && !g_backend_info.bSupportsST3CTextures)
return false;
// Mip levels smaller than the block size are padded to multiples of the block size.