Changeset - r21374:791bacecfd3a
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2014-04-20 14:55:28
rubidium@openttd.org
(svn r26473) -Fix: make sure there is no uninitialised sprite data; the other blitters cleared the memory too
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/blitter/32bpp_sse2.cpp
Show inline comments
 
@@ -36,6 +36,7 @@ Sprite *Blitter_32bppSSE_Base::Encode(co
 

	
 
	/* Calculate sizes and allocate. */
 
	SpriteData sd;
 
	memset(&sd, 0, sizeof(sd));
 
	uint all_sprites_size = 0;
 
	for (ZoomLevel z = zoom_min; z <= zoom_max; z++) {
 
		const SpriteLoader::Sprite *src_sprite = &sprite[z];
0 comments (0 inline, 0 general)