Fix the 32-bit x86 build of the software renderer.

I really need to remove the sledge-hammer approach, but this at least gets
QF working out-of-the-box on 32-bit x86 systems.
This commit is contained in:
Bill Currie 2012-04-28 13:02:36 +09:00
parent 8791b35e55
commit a43bd755ca
5 changed files with 20 additions and 4 deletions

View file

@ -33,6 +33,10 @@
#include "quakeasm.h"
#include "asm_draw.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM
.data

View file

@ -33,6 +33,10 @@
#include "d_local.h"
#include "r_internal.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
static finalvert_t fv[2][8];
static auxvert_t av[8];

View file

@ -35,6 +35,10 @@
#include "asm_draw.h"
#include "d_ifacea.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM
#ifdef _WIN32

View file

@ -33,6 +33,10 @@
#include "r_internal.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
drawsurf_t r_drawsurf;
int sourcesstep, sourcetstep;
@ -258,10 +262,6 @@ R_DrawSurface (void)
}
}
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM
void

View file

@ -34,6 +34,10 @@
#include "asm_draw.h"
#include "d_ifacea.h"
#ifdef PIC
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM
.data