Hook up the pointfile loader in glsl.

I was always wondering what that was for (never bothered looking at the
command registration, I guess :P).
This commit is contained in:
Bill Currie 2012-09-12 09:54:24 +09:00
parent bcda96a445
commit 433d9d138b

View file

@ -41,6 +41,7 @@
# include "strings.h"
#endif
#include "QF/cmd.h"
#include "QF/cvar.h"
#include "QF/image.h"
#include "QF/render.h"
@ -245,6 +246,8 @@ glsl_R_RenderView (void)
void
glsl_R_Init (void)
{
Cmd_AddCommand ("pointfile", glsl_R_ReadPointFile_f,
"Load a pointfile to determine map leaks");
R_Init_Cvars ();
glsl_R_Particles_Init_Cvars ();
Draw_Init ();