diff options
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp | 8 |
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; } |
