mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
heh, forgot to ifdef the call to R_InitVars
This commit is contained in:
parent
3551b82a50
commit
74597018ec
1 changed files with 6 additions and 4 deletions
|
@ -54,6 +54,10 @@ static const char rcsid[] =
|
||||||
#include "r_local.h"
|
#include "r_local.h"
|
||||||
#include "view.h"
|
#include "view.h"
|
||||||
|
|
||||||
|
#ifdef PIC
|
||||||
|
# undef USE_INTEL_ASM //XXX asm pic hack
|
||||||
|
#endif
|
||||||
|
|
||||||
void *colormap;
|
void *colormap;
|
||||||
vec3_t viewlightvec;
|
vec3_t viewlightvec;
|
||||||
alight_t r_viewlighting = { 128, 192, viewlightvec };
|
alight_t r_viewlighting = { 128, 192, viewlightvec };
|
||||||
|
@ -148,7 +152,9 @@ R_Init (void)
|
||||||
r_stack_start = (byte *) & dummy;
|
r_stack_start = (byte *) & dummy;
|
||||||
|
|
||||||
R_SetFPCW ();
|
R_SetFPCW ();
|
||||||
|
#ifdef USE_INTEL_ASM
|
||||||
R_InitVars ();
|
R_InitVars ();
|
||||||
|
#endif
|
||||||
|
|
||||||
R_InitTurb ();
|
R_InitTurb ();
|
||||||
|
|
||||||
|
@ -172,10 +178,6 @@ R_Init (void)
|
||||||
r_refdef.yOrigin = YCENTERING;
|
r_refdef.yOrigin = YCENTERING;
|
||||||
|
|
||||||
// TODO: collect 386-specific code in one place
|
// TODO: collect 386-specific code in one place
|
||||||
#ifdef PIC
|
|
||||||
# undef USE_INTEL_ASM //XXX asm pic hack
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_INTEL_ASM
|
#ifdef USE_INTEL_ASM
|
||||||
Sys_MakeCodeWriteable ((long) R_EdgeCodeStart,
|
Sys_MakeCodeWriteable ((long) R_EdgeCodeStart,
|
||||||
(long) R_EdgeCodeEnd - (long) R_EdgeCodeStart);
|
(long) R_EdgeCodeEnd - (long) R_EdgeCodeStart);
|
||||||
|
|
Loading…
Reference in a new issue