mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
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:
parent
8791b35e55
commit
a43bd755ca
5 changed files with 20 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue