mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
General: Convert PanicAlerts over to fmt equivalent
Converts lingering panic alert calls over to the fmt-capable ones.
This commit is contained in:
parent
5abae61a8c
commit
139d4fc76e
45 changed files with 206 additions and 195 deletions
|
@ -169,7 +169,7 @@ static std::optional<SPIRVCodeVector> CompileShaderToSPV(EShLanguage stage,
|
|||
stream << "Dolphin Version: " + Common::scm_rev_str + "\n";
|
||||
stream << "Video Backend: " + g_video_backend->GetDisplayName();
|
||||
|
||||
PanicAlert("%s (written to %s)", msg, filename.c_str());
|
||||
PanicAlertFmt("{} (written to {})", msg, filename);
|
||||
};
|
||||
|
||||
if (!shader->parse(GetCompilerResourceLimits(), default_version, profile, false, true, messages,
|
||||
|
@ -250,7 +250,7 @@ bool InitializeGlslang()
|
|||
|
||||
if (!glslang::InitializeProcess())
|
||||
{
|
||||
PanicAlert("Failed to initialize glslang shader compiler");
|
||||
PanicAlertFmt("Failed to initialize glslang shader compiler");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue