From 797b93f871a6a8dc282b02e528f8e9786f8d69ed Mon Sep 17 00:00:00 2001 From: Eric Windisch Date: Sun, 2 Jan 2000 04:04:17 +0000 Subject: [PATCH] Taniwha pointed out that qw didn't compile, i put cvar_t r_waterwarp in a non-common file. I moved it to r_glmain.c, everything _SHOULD_ work now (I hope!). --- common/gl_rmain.c | 1 + uquake/gl_rsurf.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gl_rmain.c b/common/gl_rmain.c index 5c19922..c435ca9 100644 --- a/common/gl_rmain.c +++ b/common/gl_rmain.c @@ -92,6 +92,7 @@ cvar_t r_netgraph = {"r_netgraph","0"}; // _reduced_ visability shouldn't be considered cheating :) cvar_t r_fog = {"r_fog", "0"}; cvar_t r_volfog = {"r_volfog", "0"}; +cvar_t r_waterwarp = {"r_waterwarp", "1"}; cvar_t gl_finish = {"gl_finish","0"}; cvar_t gl_clear = {"gl_clear","0"}; diff --git a/uquake/gl_rsurf.c b/uquake/gl_rsurf.c index a4b9c34..4c74881 100644 --- a/uquake/gl_rsurf.c +++ b/uquake/gl_rsurf.c @@ -50,7 +50,6 @@ glRect_t lightmap_rectchange[MAX_LIGHTMAPS]; int allocated[MAX_LIGHTMAPS][BLOCK_WIDTH]; -cvar_t r_waterwarp = {"r_waterwarp", "1"}; // the lightmap texture data needs to be kept in // main memory so texsubimage can update properly