git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@187 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2004-09-09 21:39:49 +00:00
parent ab237360da
commit bf4bede0d9
2 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ extern cvar_t r_novis;
extern cvar_t r_netgraph; extern cvar_t r_netgraph;
cvar_t r_transtables = {"r_transtables","2"}; cvar_t r_transtables = {"r_transtables","2"};
cvar_t r_transtablefull = {"r_transtablefull", "1"}; cvar_t r_transtablehalf = {"r_transtablehalf", "1"};
cvar_t r_transtablewrite = {"r_transtablewrite", "1"}; cvar_t r_transtablewrite = {"r_transtablewrite", "1"};
cvar_t r_palconvbits = {"r_palconvbits", "565"}; cvar_t r_palconvbits = {"r_palconvbits", "565"};
cvar_t r_palconvwrite = {"r_palconvwrite", "1"}; cvar_t r_palconvwrite = {"r_palconvwrite", "1"};
@ -335,7 +335,7 @@ void SWRenderer_Init(void)
Cvar_Register (&r_transtables, SWRENDEREROPTIONS); Cvar_Register (&r_transtables, SWRENDEREROPTIONS);
Cvar_Register (&r_transtablewrite, SWRENDEREROPTIONS); Cvar_Register (&r_transtablewrite, SWRENDEREROPTIONS);
Cvar_Register (&r_transtablefull, SWRENDEREROPTIONS); Cvar_Register (&r_transtablehalf, SWRENDEREROPTIONS);
Cvar_Register (&r_palconvbits, SWRENDEREROPTIONS); Cvar_Register (&r_palconvbits, SWRENDEREROPTIONS);
Cvar_Register (&r_palconvwrite, SWRENDEREROPTIONS); Cvar_Register (&r_palconvwrite, SWRENDEREROPTIONS);
} }

View file

@ -186,7 +186,7 @@ t_curtable=0;
t_lookup = BZ_Malloc(sizeof(tlookup)*t_numtables); t_lookup = BZ_Malloc(sizeof(tlookup)*t_numtables);
t_curlookupp = t_lookup[t_curtable]; t_curlookupp = t_lookup[t_curtable];
if (r_transtablefull.value) if (r_transtablehalf.value)
{ {
t_state = TT_ZERO|TT_USEHALF; t_state = TT_ZERO|TT_USEHALF;
for (table = 0; table < t_numtables; table++) for (table = 0; table < t_numtables; table++)