File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,13 @@ static void Printf( const char *fmt, ... )
6565
6666static void InitSteamDatagramConnectionSockets ()
6767{
68+ g_fpLog = fopen ( " log.txt" , " wt" );
69+ g_logTimeZero = SteamNetworkingUtils ()->GetLocalTimestamp ();
70+
71+ SteamNetworkingUtils ()->SetDebugOutputFunction ( k_ESteamNetworkingSocketsDebugOutputType_Debug, DebugOutput );
72+ // SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Verbose, DebugOutput );
73+ // SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Msg, DebugOutput );
74+
6875 #ifdef STEAMNETWORKINGSOCKETS_OPENSOURCE
6976 SteamDatagramErrMsg errMsg;
7077 if ( !GameNetworkingSockets_Init ( nullptr , errMsg ) )
@@ -85,13 +92,6 @@ static void InitSteamDatagramConnectionSockets()
8592 exit (1 );
8693 }
8794 #endif
88-
89- g_fpLog = fopen ( " log.txt" , " wt" );
90- g_logTimeZero = SteamNetworkingUtils ()->GetLocalTimestamp ();
91-
92- SteamNetworkingUtils ()->SetDebugOutputFunction ( k_ESteamNetworkingSocketsDebugOutputType_Debug, DebugOutput );
93- // SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Verbose, DebugOutput );
94- // SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Msg, DebugOutput );
9595}
9696
9797static void ShutdownSteamDatagramConnectionSockets ()
You can’t perform that action at this time.
0 commit comments