summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-13 22:33:26 -0500
committerLioncash <mathew1800@gmail.com>2020-11-17 21:23:58 -0500
commit3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (patch)
tree0ff92a960d77b6bc8b92bed1c7d61f79206887dc /Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp
parent8a621c2d5e7722de5148a0a40d4072445cffb361 (diff)
VideoCommon: Migrate over to fmt
Migrates off the printf-based formatting where applicable.
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp b/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp
index 182f6fcbd5..43a5c61630 100644
--- a/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp
+++ b/Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp
@@ -410,10 +410,10 @@ bool ReadMipLevel(HiresTexture::Level* level, File::IOFile& file, const std::str
if (mip_level == 0 && info.block_size > 1 &&
((width % info.block_size) != 0 || (height % info.block_size) != 0))
{
- ERROR_LOG(VIDEO,
- "Invalid dimensions for DDS texture %s. For compressed textures of this format, "
- "the width/height of the first mip level must be a multiple of %u.",
- filename.c_str(), info.block_size);
+ ERROR_LOG_FMT(VIDEO,
+ "Invalid dimensions for DDS texture {}. For compressed textures of this format, "
+ "the width/height of the first mip level must be a multiple of {}.",
+ filename, info.block_size);
return false;
}