Fix font and render targets broken by 3056b86

This commit is contained in:
Tamás Bálint Misius 2021-02-15 21:21:09 +01:00
parent a2b749b09d
commit 413c18950d
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -88,7 +88,9 @@ void DoRestart()
}
else
{
#if !defined(RENDERER) && !defined(FONTEDITOR)
Client::Ref().Shutdown(); // very ugly hack; will fix soon(tm)
#endif
exit(0);
}
#elif defined(LIN) || defined(MACOSX)