forked from len0rd/rockbox
Now clears the bitmap properly beforte converting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8112 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8b874b039
commit
6e46156f92
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ int transform_bitmap(const struct RGBQUAD *src, long width, long height,
|
|||
debugf("error - Out of memory.\n");
|
||||
return 2;
|
||||
}
|
||||
memset(*dest, 0, dst_w * dst_h);
|
||||
memset(*dest, 0, dst_w * dst_h * sizeof(short));
|
||||
*dst_width = dst_w;
|
||||
*dst_height = dst_h;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue