mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 20:11:55 +00:00
Use fmt::format for LOGMESSAGE
The format string can be checked at compile time. It will be easier to transition to `std::format`.
This commit is contained in:
26 files changed
+108
-90
No files matched your search
@@ -553,7 +553,7 @@ void ShadowMapInternals::CreateTexture(const uint32_t width, const uint32_t heig
|
||||
#endif
|
||||
ENSURE(formatName);
|
||||
|
||||
LOGMESSAGE("Creating shadow texture (size %dx%d) (format = %s)",
|
||||
LOGMESSAGE("Creating shadow texture (size {}x{}) (format = {})",
|
||||
Width, Height, formatName);
|
||||
|
||||
if (g_RenderingOptions.GetShadowAlphaFix())
|
||||
|
||||
Reference in new issue
Block a user