File diff r22934:0a8259209a75 → r22935:dd88c75e2001
src/blitter/32bpp_anim.cpp
Show inline comments
 
@@ -358,13 +358,13 @@ void Blitter_32bppAnim::CopyFromBuffer(v
 

	
 
	for (; height > 0; height--) {
 
		/* We need to keep those for palette animation. */
 
		Colour *dst_pal = dst;
 
		uint16 *anim_pal = anim_line;
 

	
 
		memcpy(dst, usrc, width * sizeof(uint32));
 
		memcpy(static_cast<void *>(dst), usrc, width * sizeof(uint32));
 
		usrc += width;
 
		dst += _screen.pitch;
 
		/* Copy back the anim-buffer */
 
		memcpy(anim_line, usrc, width * sizeof(uint16));
 
		usrc = (const uint32 *)((const uint16 *)usrc + width);
 
		anim_line += this->anim_buf_pitch;