r1284 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Mar 26 23:00:49 EDT 2008
Author: thilo
Date: 2008-03-26 23:00:49 -0400 (Wed, 26 Mar 2008)
New Revision: 1284
Modified:
trunk/code/client/cl_main.c
Log:
Fix flashing connect screen, see https://bugzilla.icculus.org/show_bug.cgi?id=3425.
Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c 2008-03-27 02:42:17 UTC (rev 1283)
+++ trunk/code/client/cl_main.c 2008-03-27 03:00:49 UTC (rev 1284)
@@ -778,7 +778,11 @@
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);
// we don't need a challenge on the localhost
More information about the quake3-commits
mailing list