From 02b26287e1c0c9b2c32ce75ad331ac058b1070d5 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Feb 2006 03:26:58 +0000 Subject: [PATCH] Okay, it does have a purpose. Skyboxes. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1944 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/d_scan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/sw/d_scan.c b/engine/sw/d_scan.c index 4d50cc25a..0fb414013 100644 --- a/engine/sw/d_scan.c +++ b/engine/sw/d_scan.c @@ -1532,7 +1532,8 @@ void D_DrawSpans16 (espan_t *pspan) } while ((pspan = pspan->pnext) != NULL); } -/* + +//used for skyboxes in 16bpp void D_DrawSpans16From8 (espan_t *pspan) { int count, spancount; @@ -1542,7 +1543,7 @@ void D_DrawSpans16From8 (espan_t *pspan) float sdivz, tdivz, zi, z, du, dv, spancountminus1; float sdivz8stepu, tdivz8stepu, zi8stepu; - Con_Printf("spans16from8\n"); + sstep = 0; // keep compiler happy tstep = 0; // ditto @@ -1662,7 +1663,6 @@ void D_DrawSpans16From8 (espan_t *pspan) } while ((pspan = pspan->pnext) != NULL); } -*/ #if !id386