engine: console: temporarily disable updating screen when something is printed to console, because it can mess up with textures
This commit is contained in:
parent
2ee7367567
commit
154dd5c9ae
1 changed files with 4 additions and 0 deletions
|
@ -1315,12 +1315,16 @@ void Con_Print( const char *txt )
|
||||||
Host_InputFrame();
|
Host_InputFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: disable updating screen, because when texture is bound any console print
|
||||||
|
// can re-bound it to console font texture
|
||||||
|
#if 0
|
||||||
if( !inupdate )
|
if( !inupdate )
|
||||||
{
|
{
|
||||||
inupdate = true;
|
inupdate = true;
|
||||||
SCR_UpdateScreen ();
|
SCR_UpdateScreen ();
|
||||||
inupdate = false;
|
inupdate = false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue