mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +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_SetupFrame (void)
|
||||||
{
|
{
|
||||||
R_AnimateLight ();
|
R_AnimateLight ();
|
||||||
|
R_ClearEnts ();
|
||||||
r_framecount++;
|
r_framecount++;
|
||||||
|
|
||||||
Fog_SetupFrame ();
|
Fog_SetupFrame ();
|
||||||
|
|
|
@ -244,7 +244,7 @@ R_SetupFrame (void)
|
||||||
R_CheckVariables ();
|
R_CheckVariables ();
|
||||||
|
|
||||||
R_AnimateLight ();
|
R_AnimateLight ();
|
||||||
|
R_ClearEnts ();
|
||||||
r_framecount++;
|
r_framecount++;
|
||||||
|
|
||||||
numbtofpolys = 0;
|
numbtofpolys = 0;
|
||||||
|
|
|
@ -240,7 +240,7 @@ R_SetupFrame (void)
|
||||||
R_CheckVariables ();
|
R_CheckVariables ();
|
||||||
|
|
||||||
R_AnimateLight ();
|
R_AnimateLight ();
|
||||||
|
R_ClearEnts ();
|
||||||
r_framecount++;
|
r_framecount++;
|
||||||
|
|
||||||
numbtofpolys = 0;
|
numbtofpolys = 0;
|
||||||
|
|
|
@ -686,8 +686,6 @@ CL_ReadFromServer (void)
|
||||||
if (cl_shownet->int_val)
|
if (cl_shownet->int_val)
|
||||||
Sys_Printf ("\n");
|
Sys_Printf ("\n");
|
||||||
|
|
||||||
R_ClearEnts ();
|
|
||||||
|
|
||||||
CL_RelinkEntities ();
|
CL_RelinkEntities ();
|
||||||
CL_UpdateTEnts ();
|
CL_UpdateTEnts ();
|
||||||
|
|
||||||
|
|
|
@ -1104,7 +1104,6 @@ CL_EmitEntities (void)
|
||||||
if (!cl.validsequence)
|
if (!cl.validsequence)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
R_ClearEnts ();
|
|
||||||
Skin_ClearTempSkins ();
|
Skin_ClearTempSkins ();
|
||||||
|
|
||||||
CL_LinkPlayers ();
|
CL_LinkPlayers ();
|
||||||
|
|
|
@ -1161,7 +1161,6 @@ CL_SetState (cactive_t state)
|
||||||
// entering active state
|
// entering active state
|
||||||
VID_SetCaption (cls.servername->str);
|
VID_SetCaption (cls.servername->str);
|
||||||
IN_ClearStates ();
|
IN_ClearStates ();
|
||||||
R_ClearEnts ();
|
|
||||||
r_active = true;
|
r_active = true;
|
||||||
game_target = IMT_0;
|
game_target = IMT_0;
|
||||||
key_dest = key_game;
|
key_dest = key_game;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue