mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 17:32:23 +00:00
Use fmt::format for LOGERROR
The format string can be checked at compile time. It will be easier to transition to `std::format`.
This commit is contained in:
115 files changed
+631
-454
No files matched your search
@@ -205,8 +205,8 @@ void CDecalRData::RenderDecals(
|
||||
}(itTechBegin->shaderEffect), defines)};
|
||||
if (!techBase)
|
||||
{
|
||||
LOGERROR("Terrain renderer failed to load shader effect (%s)\n",
|
||||
itTechBegin->shaderEffect.c_str());
|
||||
LOGERROR("Terrain renderer failed to load shader effect ({})\n",
|
||||
itTechBegin->shaderEffect.string());
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user