mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
Avoid using malloc/free every model/frame.
This commit is contained in:
parent
c2e0674d50
commit
2080c337d7
3 changed files with 9 additions and 12 deletions
|
@ -78,7 +78,7 @@ void R_EnqueueEntity (struct entity_s *ent);
|
|||
entity_t *R_AllocEntity (void);
|
||||
void R_FreeAllEntities (void);
|
||||
|
||||
dlight_t **R_FindNearLights (const vec3_t pos, int count);
|
||||
void R_FindNearLights (const vec3_t pos, int count, dlight_t **lights);
|
||||
dlight_t *R_AllocDlight (int key);
|
||||
void R_DecayLights (double frametime);
|
||||
void R_ClearDlights (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue