mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Initialise the variable, obviously
This commit is contained in:
parent
1e1597cafd
commit
b776352e8e
1 changed files with 2 additions and 0 deletions
|
|
@ -743,6 +743,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…
Add table
Reference in a new issue