this should fix use of uninitialized pad value

This commit is contained in:
zeromus 2009-05-02 22:14:05 +00:00
parent e8c5cffe03
commit c7bd555cc0
1 changed files with 1 additions and 0 deletions

View File

@ -1145,6 +1145,7 @@ static void SoftRastRender()
{
Fragment clearFragment;
FragmentColor clearFragmentColor;
clearFragment.pad = 0;
clearFragmentColor.r = gfx3d.clearColor&0x1F;
clearFragmentColor.g = (gfx3d.clearColor>>5)&0x1F;
clearFragmentColor.b = (gfx3d.clearColor>>10)&0x1F;