summaryrefslogtreecommitdiff
path: root/src/refresh/sw/main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-03-16 00:44:15 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-03-19 03:44:50 +0400
commit6e5aa4dec92010a3794152a379d95f62fb8cc029 (patch)
treeb5c7a53488a43cd2b55730405f50cd532030d899 /src/refresh/sw/main.c
parent5a4744ed5ccab66fa7b45c5369d210807f120137 (diff)
Remove x86 assembly code.
Diffstat (limited to 'src/refresh/sw/main.c')
-rw-r--r--src/refresh/sw/main.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/refresh/sw/main.c b/src/refresh/sw/main.c
index 467170c..13ce08d 100644
--- a/src/refresh/sw/main.c
+++ b/src/refresh/sw/main.c
@@ -126,12 +126,6 @@ cvar_t *vid_gamma;
cvar_t *sw_lockpvs;
//PGM
-#if USE_ASM
-
-void *d_pcolormap;
-
-#else // USE_ASM
-
// all global and static refresh variables are collected in a contiguous block
// to avoid cache conflicts.
@@ -155,8 +149,6 @@ short *d_pzbuffer;
unsigned int d_zrowbytes;
unsigned int d_zwidth;
-#endif // !USE_ASM
-
int sintable[CYCLE * 2];
int intsintable[CYCLE * 2];
int blanktable[CYCLE * 2]; // PGM
@@ -272,11 +264,6 @@ qboolean R_Init(qboolean total)
Com_DPrintf("ref_soft " VERSION ", " __DATE__ "\n");
-#if USE_ASM
- Sys_MakeCodeWriteable((uintptr_t)R_EdgeCodeStart,
- (uintptr_t)R_EdgeCodeEnd - (uintptr_t)R_EdgeCodeStart);
-#endif
-
r_aliasuvscale = 1.0;
// create the window
@@ -390,7 +377,6 @@ void R_NewMap(void)
// surface 0 doesn't really exist; it's just a dummy because index 0
// is used to indicate no edge attached to surface
surfaces--;
- R_SurfacePatch();
}
r_maxedgesseen = 0;
@@ -792,7 +778,6 @@ void R_EdgeDrawing(void)
// surface 0 doesn't really exist; it's just a dummy because index 0
// is used to indicate no edge attached to surface
surfaces--;
- R_SurfacePatch();
}
R_BeginEdgeFrame();