ref: d3fa02cdc43b3f9f050dbfe7b4d6797c60804fc9
dir: /span.c/
#include "quakedef.h"
void
dospan(byte *pdest, byte *pbase, int s, int t, int sstep, int tstep, int spancount, int cachewidth)
{
do{
*pdest++ = pbase[(s >> 16) + (t >> 16) * cachewidth];
s += sstep;
t += tstep;
}while(--spancount);
}