engine: don't call SCR_VidInit too soon
This commit is contained in:
parent
ecd675926a
commit
d0010cf9cb
1 changed files with 3 additions and 0 deletions
|
@ -727,6 +727,9 @@ SCR_VidInit
|
|||
*/
|
||||
void SCR_VidInit( void )
|
||||
{
|
||||
if( !ref.initialized ) // don't call VidInit too soon
|
||||
return;
|
||||
|
||||
memset( &clgame.ds, 0, sizeof( clgame.ds )); // reset a draw state
|
||||
memset( &gameui.ds, 0, sizeof( gameui.ds )); // reset a draw state
|
||||
memset( &clgame.centerPrint, 0, sizeof( clgame.centerPrint ));
|
||||
|
|
Loading…
Add table
Reference in a new issue