remove unused hires variable from drawcolumndata
This commit is contained in:
parent
e8e72db32f
commit
bad7b9f980
3 changed files with 1 additions and 3 deletions
|
|
@ -1093,7 +1093,6 @@ typedef struct
|
|||
INT32 yh;
|
||||
fixed_t iscale;
|
||||
fixed_t texturemid;
|
||||
UINT8 hires;
|
||||
UINT8 shadowcolor;
|
||||
|
||||
UINT8* source; // first pixel in a column
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ static void R_DrawColumnTemplate(drawcolumndata_t *dc)
|
|||
// Determine scaling, which is the only mapping to be done.
|
||||
fracstep = dc->iscale;
|
||||
//frac = dc_texturemid + (dc_yl - centery)*fracstep;
|
||||
frac = (dc->texturemid + FixedMul((dc->yl << FRACBITS) - centeryfrac, fracstep)) * (!dc->hires);
|
||||
frac = dc->texturemid + FixedMul((dc->yl << FRACBITS) - centeryfrac, fracstep);
|
||||
|
||||
// Inner loop that does the actual texture mapping, e.g. a DDA-like scaling.
|
||||
// This is as fast as it gets.
|
||||
|
|
|
|||
|
|
@ -1141,7 +1141,6 @@ static void R_DrawVisSprite(vissprite_t *vis)
|
|||
}
|
||||
|
||||
R_SetColumnFunc(BASEDRAWFUNC, false);
|
||||
dc.hires = 0;
|
||||
|
||||
vis->x1 = x1;
|
||||
vis->x2 = x2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue