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:
phosit committed 2026-10-05 20:29:25 +02:00
1 parent b2496aa9ca
commit 43cb3100b6
26 files changed
+108 -90

No files matched your search

+1 -1
View File
@@ -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())