(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

@@ -64,6 +64,7 @@ inline void Blitter_32bppSSE4_Anim::Draw(const Blitter::BlitterParams *bp, ZoomL
uint16 *anim = anim_line;
if (read_mode == RM_WITH_MARGIN) {
assert(bt_last == BT_NONE); // or you must ensure block type is preserved
anim += src_rgba_line[0].data;
src += src_rgba_line[0].data;
dst += src_rgba_line[0].data;