mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: console: don't try to process input while printing messages to console, this only was needed in OG Xash where it directly called Win32 APIs
This commit is contained in:
@@ -141,9 +141,6 @@ typedef struct
|
||||
|
||||
notify_t notify[MAX_DBG_NOTIFY]; // for Con_NXPrintf
|
||||
qboolean draw_notify; // true if we have NXPrint message
|
||||
|
||||
// console update
|
||||
double lastupdate;
|
||||
} console_t;
|
||||
|
||||
static console_t con;
|
||||
@@ -947,13 +944,6 @@ void Con_Print( const char *txt )
|
||||
charpos = 0;
|
||||
}
|
||||
|
||||
// pump messages to avoid window hanging
|
||||
if( con.lastupdate < Sys_DoubleTime( ))
|
||||
{
|
||||
con.lastupdate = Sys_DoubleTime() + 1.0;
|
||||
Host_InputFrame();
|
||||
}
|
||||
|
||||
// FIXME: disable updating screen, because when texture is bound any console print
|
||||
// can re-bound it to console font texture
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user