diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-18 11:10:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 11:10:48 +0100 |
| commit | 4eecb8fd1100db51a118c220c8b6a61fd672fc42 (patch) | |
| tree | 5c08b8d1d92b0b676a0c064d2200e4d6f64d5af5 /Source/Core/VideoCommon/HiresTextures_DDSLoader.cpp | |
| parent | eb1581bbcc30b79f51b736d2f31c9cb0489b1162 (diff) | |
| parent | 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (diff) | |
Merge pull request #9248 from lioncash/video-fmt
VideoCommon: Migrate over to fmt
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; } |
