- fixed pixel centering for unaccelerated player sprites

This commit is contained in:
Rachael Alexanderson 2017-07-22 08:01:27 -04:00
parent 04db494310
commit a958d2ad72

View file

@ -539,7 +539,7 @@ namespace swrenderer
thread->PrepareTexture(pic); thread->PrepareTexture(pic);
for (int x = x1; x < x2; x++) for (int x = x1; x < x2; x++)
{ {
drawerargs.DrawMaskedColumn(thread, x, iscale, pic, frac, spryscale, sprtopscreen, sprflipvert, mfloorclip, mceilingclip, false); drawerargs.DrawMaskedColumn(thread, x, iscale, pic, frac + xiscale / 2, spryscale, sprtopscreen, sprflipvert, mfloorclip, mceilingclip, false);
frac += xiscale; frac += xiscale;
} }