Fix software sprite drawing error from bad copy paste
This commit is contained in:
parent
894b1f05c9
commit
feb4819b72
1 changed files with 3 additions and 3 deletions
|
|
@ -234,12 +234,12 @@ static void R_DrawColumnTemplate(drawcolumndata_t *dc)
|
|||
// texture has no height, so just go
|
||||
while (--count > 0)
|
||||
{
|
||||
INT32 n = frac >> FRACBITS;
|
||||
*dest = R_DrawColumnPixel<Type>(dc, dest, frac>>FRACBITS);
|
||||
dest += vid.width;
|
||||
*dest = R_DrawColumnPixel<Type>(dc, dest, n);
|
||||
frac += fracstep;
|
||||
}
|
||||
}
|
||||
else if (dc->texheight & heightmask) // not a power of 2 -- killough
|
||||
else if (dc->sourcelength & heightmask) // not a power of 2 -- killough
|
||||
{
|
||||
heightmask = dc->texheight << FRACBITS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue