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:
Alibek Omarov
2025-10-09 19:27:29 +05:00
parent 1c8e51c9f9
commit 6817df534b

View File

@@ -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