Put in the final pieces so nq-glslx can link.

Everything is still stubs. Trying to run nq-glslx results in a segfault :)
This commit is contained in:
Bill Currie 2011-12-23 12:52:55 +09:00
parent 53d89bf85a
commit 6fe9557dae

View file

@ -44,6 +44,7 @@ static __attribute__ ((used)) const char rcsid[] = "$Id$";
#include "r_dynamic.h" #include "r_dynamic.h"
#include "r_screen.h" #include "r_screen.h"
VISIBLE vec3_t r_origin, vpn, vright, vup;
VISIBLE refdef_t r_refdef; VISIBLE refdef_t r_refdef;
qboolean r_cache_thrash; qboolean r_cache_thrash;
int r_init; int r_init;
@ -159,3 +160,11 @@ GL_LoadTexture (const char *identifier, int width, int height, byte *data,
{ {
return 0; return 0;
} }
VISIBLE void
R_ClearState (void)
{
R_ClearEfrags ();
R_ClearDlights ();
R_ClearParticles ();
}