From 69b3c5f51e90d6d2ea1ca4cb34a731d226a40b4e Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 6 Aug 2005 00:36:08 +0000 Subject: [PATCH] Make software rendering work again. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1200 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index 767f8e8d1..572cf87e6 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -241,7 +241,6 @@ void GLRenderer_Init(void) Cvar_Register (&r_lightmap, GLRENDEREROPTIONS); Cvar_Register (&r_norefresh, GLRENDEREROPTIONS); - Cvar_Register (&r_shadow_realtime_world, GLRENDEREROPTIONS); Cvar_Register (&gl_clear, GLRENDEREROPTIONS); @@ -261,6 +260,8 @@ void GLRenderer_Init(void) Cvar_Register (&gl_maxshadowlights, GLRENDEREROPTIONS); Cvar_Register (&r_shadow_bumpscale_basetexture, GLRENDEREROPTIONS); Cvar_Register (&r_shadow_bumpscale_bumpmap, GLRENDEREROPTIONS); + Cvar_Register (&r_shadow_realtime_world, GLRENDEREROPTIONS); + Cvar_Register (&r_shadow_realtime_world_lightmaps, GLRENDEREROPTIONS); Cvar_Register (&gl_part_flame, GRAPHICALNICETIES); Cvar_Register (&gl_part_torch, GRAPHICALNICETIES); @@ -805,6 +806,7 @@ rendererinfo_t softwarerendererinfo = { NULL, //Mod_GetTag NULL, //Mod_TagForName + NULL, SWVID_Init, SWVID_Shutdown,