GPU: Allow closing window/app to interrupt shader compilation

This commit is contained in:
Connor McLaughlin
2021-02-19 01:48:44 +10:00
parent 413e52b38d
commit 24c2165bb3
8 changed files with 88 additions and 16 deletions

View File

@ -115,8 +115,12 @@ bool HostInterface::BootSystem(const SystemBootParameters& parameters)
if (!System::Boot(parameters))
{
ReportFormattedError(
g_host_interface->TranslateString("System", "System failed to boot. The log may contain more information."));
if (!System::IsStartupCancelled())
{
ReportFormattedError(
g_host_interface->TranslateString("System", "System failed to boot. The log may contain more information."));
}
OnSystemDestroyed();
m_audio_stream.reset();
ReleaseHostDisplay();