- cl_stereo* endgültig entfernt

- Heute funktionieren TCP-Stacks meist
This commit is contained in:
Yamagi Burmeister 2010-06-18 15:52:39 +00:00
parent 8731796ce1
commit 7f27895864
2 changed files with 3 additions and 31 deletions

View file

@ -907,19 +907,6 @@ void CL_ConnectionlessPacket (void)
Com_Printf ("Unknown command.\n");
}
/*
* A vain attempt to help bad TCP stacks that cause problems
* when they overflow. Is this still needed?
*/
void CL_DumpPackets (void)
{
while (NET_GetPacket (NS_CLIENT, &net_from, &net_message))
{
Com_Printf ("dumnping a packet\n");
}
}
void CL_ReadPackets (void)
{
while (NET_GetPacket (NS_CLIENT, &net_from, &net_message))

View file

@ -1122,24 +1122,9 @@ void SCR_UpdateScreen (void) {
if (!scr_initialized || !con.initialized)
return; /* not initialized yet */
/* range check cl_camera_separation so we
don't inadvertently fry someone's brain */
if ( cl_stereo_separation->value > 1.0 )
Cvar_SetValue( "cl_stereo_separation", 1.0 );
else if ( cl_stereo_separation->value < 0 )
Cvar_SetValue( "cl_stereo_separation", 0.0 );
if ( cl_stereo->value ) {
numframes = 2;
separation[0] = -cl_stereo_separation->value / 2;
separation[1] = cl_stereo_separation->value / 2;
} else {
separation[0] = 0;
separation[1] = 0;
numframes = 1;
}
separation[0] = 0;
separation[1] = 0;
numframes = 1;
for ( i = 0; i < numframes; i++ ) {
re.BeginFrame( separation[i] );