mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 14:21:18 +00:00
Fix crashes on shutdown
idCommonLocal::VPrintf() wanted to call session->UpdateScreen() even though the renderer was in the process of being shut down and that caused crashes
This commit is contained in:
parent
2cff2ae137
commit
0b644a1648
1 changed files with 2 additions and 0 deletions
|
@ -2156,6 +2156,8 @@ idRenderSystemLocal::Shutdown
|
|||
void idRenderSystemLocal::Shutdown( void ) {
|
||||
common->Printf( "idRenderSystem::Shutdown()\n" );
|
||||
|
||||
common->SetRefreshOnPrint( false ); // without a renderer there's nothing to refresh
|
||||
|
||||
R_DoneFreeType( );
|
||||
|
||||
if ( glConfig.isInitialized ) {
|
||||
|
|
Loading…
Reference in a new issue