mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
SCI: fixing regression of r51520
svn-id: r51580
This commit is contained in:
parent
193d3212da
commit
adde79f1cb
@ -670,7 +670,7 @@ void GfxView::drawScaled(const Common::Rect &rect, const Common::Rect &clipRect,
|
||||
pixelNo--;
|
||||
scaledPixelNo++;
|
||||
for (; scaledPixelNo < scaledHeight; scaledPixelNo++)
|
||||
scalingY[scaledPixelNo] = pixelNo - 1;
|
||||
scalingY[scaledPixelNo] = pixelNo;
|
||||
|
||||
// Create width scaling table
|
||||
pixelNo = 0;
|
||||
@ -686,7 +686,7 @@ void GfxView::drawScaled(const Common::Rect &rect, const Common::Rect &clipRect,
|
||||
pixelNo--;
|
||||
scaledPixelNo++;
|
||||
for (; scaledPixelNo < scaledWidth; scaledPixelNo++)
|
||||
scalingX[scaledPixelNo] = pixelNo - 1;
|
||||
scalingX[scaledPixelNo] = pixelNo;
|
||||
|
||||
scaledWidth = MIN(clipRect.width(), scaledWidth);
|
||||
scaledHeight = MIN(clipRect.height(), scaledHeight);
|
||||
|
Loading…
x
Reference in New Issue
Block a user