mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Crashfix: Don't refesh the screen using prints during engine shutdown.
This commit is contained in:
parent
1d62816a77
commit
131e4f1ce3
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ This is an out-of-sequence screen update, not the normal game rendering
|
|||
// DG: added possibility to *not* release mouse in UpdateScreen(), it fucks up the view angle for screenshots
|
||||
void idCommonLocal::UpdateScreen( bool captureToImage, bool releaseMouse )
|
||||
{
|
||||
if( insideUpdateScreen )
|
||||
if( insideUpdateScreen || com_shuttingDown )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue