From 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 13 Nov 2020 22:33:26 -0500 Subject: VideoCommon: Migrate over to fmt Migrates off the printf-based formatting where applicable. --- Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp') 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; } -- cgit v1.2.3