core: ContextConvert: Fill the allocated buffer.
commitdcb1062650a4926ced12a094a86d0a7590b5f67b
authorCyril Hrubis <metan@ucw.cz>
Wed, 10 Apr 2013 15:32:17 +0000 (10 17:32 +0200)
committerCyril Hrubis <metan@ucw.cz>
Wed, 10 Apr 2013 15:32:17 +0000 (10 17:32 +0200)
treef5b1bdf53534f72dc228ef2eaf664e636a071cb3
parent0424a9f874f03edea2f10b52204ef3e6198126cd
core: ContextConvert: Fill the allocated buffer.

Since alpha channel blits started to work,
the image will be alpha blended with random
mess in the allocated buffer. Fix it by
filling the buffer with zeroes first which
restores the previous behavior.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
libs/core/GP_Context.c