(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)

This commit is contained in:
truelight 2007-06-19 12:18:24 +00:00
parent 16ce2192e4
commit b98e0ea648

View File

@ -9,7 +9,7 @@ void Blitter_8bppBase::DrawColorMappingRect(void *dst, int width, int height, in
do {
for (int i = 0; i != width; i++) *((uint8 *)dst + i) = ctab[((uint8 *)dst)[i]];
dst = (uint8 *)dst + _screen.pitch;
} while (height--);
} while (--height);
}
void *Blitter_8bppBase::MoveTo(const void *video, int x, int y)