mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-09 20:21:10 +00:00
engine: don't call SCR_VidInit too soon
This commit is contained in:
parent
ecd675926a
commit
d0010cf9cb
@ -727,6 +727,9 @@ SCR_VidInit
|
|||||||
*/
|
*/
|
||||||
void SCR_VidInit( void )
|
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( &clgame.ds, 0, sizeof( clgame.ds )); // reset a draw state
|
||||||
memset( &gameui.ds, 0, sizeof( gameui.ds )); // reset a draw state
|
memset( &gameui.ds, 0, sizeof( gameui.ds )); // reset a draw state
|
||||||
memset( &clgame.centerPrint, 0, sizeof( clgame.centerPrint ));
|
memset( &clgame.centerPrint, 0, sizeof( clgame.centerPrint ));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user