mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 08:20:40 +00:00
Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup.
This commit is contained in:
parent
f9d3f9f017
commit
d4a8224d9b
18 changed files with 120 additions and 104 deletions
|
@ -335,7 +335,7 @@ extern double realtime;
|
|||
|
||||
void Cvar_Info (struct cvar_s *var);
|
||||
|
||||
void CL_NetGraph (int swap);
|
||||
void CL_NetGraph (void);
|
||||
void CL_UpdateScreen (double realtime);
|
||||
|
||||
void CL_SetState (cactive_t state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue