diff --git a/libs/video/renderer/glsl/glsl_main.c b/libs/video/renderer/glsl/glsl_main.c index 5bf004cb5..5a08f4f73 100644 --- a/libs/video/renderer/glsl/glsl_main.c +++ b/libs/video/renderer/glsl/glsl_main.c @@ -44,6 +44,7 @@ static __attribute__ ((used)) const char rcsid[] = "$Id$"; #include "r_dynamic.h" #include "r_screen.h" +VISIBLE vec3_t r_origin, vpn, vright, vup; VISIBLE refdef_t r_refdef; qboolean r_cache_thrash; int r_init; @@ -159,3 +160,11 @@ GL_LoadTexture (const char *identifier, int width, int height, byte *data, { return 0; } + +VISIBLE void +R_ClearState (void) +{ + R_ClearEfrags (); + R_ClearDlights (); + R_ClearParticles (); +}