(svn r26253) -Codechange: remove margin limitation to preserve block type (MJP)

This commit is contained in:
rubidium
2014-01-13 18:03:35 +00:00
parent 7f6e837b3a
commit 5b3b533697
4 changed files with 7 additions and 3 deletions

View File

@@ -62,6 +62,7 @@ inline void Blitter_32bppSSSE3::Draw(const Blitter::BlitterParams *bp, ZoomLevel
if (mode == BM_COLOUR_REMAP) src_mv = src_mv_line;
if (read_mode == RM_WITH_MARGIN) {
assert(bt_last == BT_NONE); // or you must ensure block type is preserved
src += src_rgba_line[0].data;
dst += src_rgba_line[0].data;
if (mode == BM_COLOUR_REMAP) src_mv += src_rgba_line[0].data;