Initialise the variable, obviously
This commit is contained in:
parent
a138a3ab5f
commit
ca83bafae8
|
@ -721,6 +721,8 @@ static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch,
|
||||||
UINT8 ialpha = 255 - blendimage->s.alpha, balpha = blendimage->s.alpha;
|
UINT8 ialpha = 255 - blendimage->s.alpha, balpha = blendimage->s.alpha;
|
||||||
RGBA_t icolor = *image, bcolor;
|
RGBA_t icolor = *image, bcolor;
|
||||||
|
|
||||||
|
memset(&bcolor, 0x00, sizeof(RGBA_t));
|
||||||
|
|
||||||
if (blendimage->s.alpha)
|
if (blendimage->s.alpha)
|
||||||
{
|
{
|
||||||
bcolor.s.blue = 0;
|
bcolor.s.blue = 0;
|
||||||
|
|
Loading…
Reference in a new issue