Okay, so that just quadroupled my framerate...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@614 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8f1a3bc79b
commit
73966f4eb0
1 changed files with 6 additions and 0 deletions
|
@ -834,11 +834,17 @@ void R_LoadRTLights(void)
|
|||
char fname[MAX_QPATH];
|
||||
char *file;
|
||||
char *end;
|
||||
int i;
|
||||
|
||||
vec3_t org;
|
||||
float radius;
|
||||
vec3_t rgb;
|
||||
|
||||
for (i=0 ; i<MAX_DLIGHTS ; i++)
|
||||
{
|
||||
cl_dlights[i].radius = 0;
|
||||
}
|
||||
|
||||
COM_StripExtension(cl.worldmodel->name, fname);
|
||||
strncat(fname, ".rtlights", MAX_QPATH-1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue