From: havoc Date: Mon, 29 Dec 2008 00:20:33 +0000 (+0000) Subject: open client sockets before video starts, so that the Windows Firewall X-Git-Tag: xonotic-v0.1.0preview~1982 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1f38eee898a31c94cd3b9931ea3af6e83d51c2c4;p=xonotic%2Fdarkplaces.git open client sockets before video starts, so that the Windows Firewall prompt will occur before video starts (it tends to screw up graphics contexts otherwise) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8608 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index f1b21842..f00b8e6d 100644 --- a/host.c +++ b/host.c @@ -929,6 +929,8 @@ void Host_StartVideo(void) if (!vid_opened && cls.state != ca_dedicated) { vid_opened = true; + // make sure we open sockets before opening video because the Windows Firewall "unblock?" dialog can screw up the graphics context on some graphics drivers + NetConn_UpdateSockets(); VID_Start(); CDAudio_Startup(); }