From aabd53b10c1771701fb2352fc1081294ca051401 Mon Sep 17 00:00:00 2001 From: feos-tas Date: Wed, 27 Jan 2016 19:14:53 +0000 Subject: [PATCH] video: prescale cleanup. --- trunk/src/drivers/common/vidblit.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/trunk/src/drivers/common/vidblit.cpp b/trunk/src/drivers/common/vidblit.cpp index d3086f29..36f492d1 100644 --- a/trunk/src/drivers/common/vidblit.cpp +++ b/trunk/src/drivers/common/vidblit.cpp @@ -576,23 +576,23 @@ void Blit8ToHigh(uint8 *src, uint8 *dest, int xr, int yr, int pitch, int xscale, if (Bpp == 4) // are other modes really needed? { - int mult = silt - 4; // magic assuming prescales are silt >= 6 uint32 *s = prescalebuf; uint32 *d = (uint32 *)destbackup; // use 32-bit pointers ftw + int subpixel; for (y=0; y0); // bool as multiplier for (x=0; x