mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Move the call to R_ClearEnts to the renderer.
This fixes the hang on certain maps in qw-client.
This commit is contained in:
parent
e65d1a7ccf
commit
14480fd1b4
6 changed files with 3 additions and 7 deletions
|
@ -404,7 +404,7 @@ void
|
|||
R_SetupFrame (void)
|
||||
{
|
||||
R_AnimateLight ();
|
||||
|
||||
R_ClearEnts ();
|
||||
r_framecount++;
|
||||
|
||||
Fog_SetupFrame ();
|
||||
|
|
|
@ -244,7 +244,7 @@ R_SetupFrame (void)
|
|||
R_CheckVariables ();
|
||||
|
||||
R_AnimateLight ();
|
||||
|
||||
R_ClearEnts ();
|
||||
r_framecount++;
|
||||
|
||||
numbtofpolys = 0;
|
||||
|
|
|
@ -240,7 +240,7 @@ R_SetupFrame (void)
|
|||
R_CheckVariables ();
|
||||
|
||||
R_AnimateLight ();
|
||||
|
||||
R_ClearEnts ();
|
||||
r_framecount++;
|
||||
|
||||
numbtofpolys = 0;
|
||||
|
|
|
@ -686,8 +686,6 @@ CL_ReadFromServer (void)
|
|||
if (cl_shownet->int_val)
|
||||
Sys_Printf ("\n");
|
||||
|
||||
R_ClearEnts ();
|
||||
|
||||
CL_RelinkEntities ();
|
||||
CL_UpdateTEnts ();
|
||||
|
||||
|
|
|
@ -1104,7 +1104,6 @@ CL_EmitEntities (void)
|
|||
if (!cl.validsequence)
|
||||
return;
|
||||
|
||||
R_ClearEnts ();
|
||||
Skin_ClearTempSkins ();
|
||||
|
||||
CL_LinkPlayers ();
|
||||
|
|
|
@ -1161,7 +1161,6 @@ CL_SetState (cactive_t state)
|
|||
// entering active state
|
||||
VID_SetCaption (cls.servername->str);
|
||||
IN_ClearStates ();
|
||||
R_ClearEnts ();
|
||||
r_active = true;
|
||||
game_target = IMT_0;
|
||||
key_dest = key_game;
|
||||
|
|
Loading…
Reference in a new issue