heh, forgot to ifdef the call to R_InitVars

This commit is contained in:
Bill Currie 2002-06-10 22:52:13 +00:00
parent 3551b82a50
commit 74597018ec

View file

@ -54,6 +54,10 @@ static const char rcsid[] =
#include "r_local.h"
#include "view.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
void *colormap;
vec3_t viewlightvec;
alight_t r_viewlighting = { 128, 192, viewlightvec };
@ -148,7 +152,9 @@ R_Init (void)
r_stack_start = (byte *) & dummy;
R_SetFPCW ();
#ifdef USE_INTEL_ASM
R_InitVars ();
#endif
R_InitTurb ();
@ -172,10 +178,6 @@ R_Init (void)
r_refdef.yOrigin = YCENTERING;
// TODO: collect 386-specific code in one place
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM
Sys_MakeCodeWriteable ((long) R_EdgeCodeStart,
(long) R_EdgeCodeEnd - (long) R_EdgeCodeStart);