(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
authortruelight
Mon, 10 Sep 2007 14:55:46 +0000
changeset 8054 158d3adaa267
parent 8053 2e4ea3db6b9c
child 8055 07697c701048
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
src/blitter/32bpp_anim.cpp
--- a/src/blitter/32bpp_anim.cpp	Mon Sep 10 00:05:27 2007 +0000
+++ b/src/blitter/32bpp_anim.cpp	Mon Sep 10 14:55:46 2007 +0000
@@ -49,8 +49,6 @@
 				int skip = UnScaleByZoom(src->r, zoom);
 
 				dst  += skip;
-				/* Make sure the anim-buffer is cleared */
-				memset(anim, 0, skip);
 				anim += skip;
 				x    += skip - 1;
 				src  += ScaleByZoom(1, zoom) * skip;