diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-03-27 03:00:49 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-03-27 03:00:49 +0000 |
commit | df550e7650e6647fc5addd6487195b0dc7f18d3e (patch) | |
tree | a2a88a49b97c0f77898d16a0d5a065d083265a8a /code/client | |
parent | f36d20efd2eb3c429a626e1f446851558c192502 (diff) | |
download | ioquake3-aero-df550e7650e6647fc5addd6487195b0dc7f18d3e.tar.gz ioquake3-aero-df550e7650e6647fc5addd6487195b0dc7f18d3e.zip |
Fix flashing connect screen, see https://bugzilla.icculus.org/show_bug.cgi?id=3425.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1284 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/cl_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 211907e..ea9e0c9 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -778,6 +778,10 @@ void CL_MapLoading( void ) { Q_strncpyz( cls.servername, "localhost", sizeof(cls.servername) ); cls.state = CA_CHALLENGING; // so the connect screen is drawn Key_SetCatcher( 0 ); + /* Execute next line twice, so that the connect image gets written into both, front- and + * back buffer. This is necessary to prevent a flashing screen on map startup, as the UI gets + * killed for a short time and cannot update the screen. */ + SCR_UpdateScreen(); SCR_UpdateScreen(); clc.connectTime = -RETRANSMIT_TIMEOUT; NET_StringToAdr( cls.servername, &clc.serverAddress); |