From 1f38eee898a31c94cd3b9931ea3af6e83d51c2c4 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 29 Dec 2008 00:20:33 +0000 Subject: [PATCH] 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 --- host.c | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.2