Browse Source

engine: console: temporarily disable updating screen when something is printed to console, because it can mess up with textures

pull/2/head
Alibek Omarov 5 years ago
parent
commit
154dd5c9ae
  1. 4
      engine/client/console.c

4
engine/client/console.c

@ -1315,12 +1315,16 @@ void Con_Print( const char *txt ) @@ -1315,12 +1315,16 @@ void Con_Print( const char *txt )
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 )
{
inupdate = true;
SCR_UpdateScreen ();
inupdate = false;
}
#endif
}
}

Loading…
Cancel
Save