mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
hardware: start the surf as clean
This commit is contained in:
parent
4c6a807283
commit
008be7c90d
1 changed files with 1 additions and 0 deletions
|
@ -3280,6 +3280,7 @@ static void HWR_AddPolyObjectPlanes(void)
|
|||
if (po_ptrs[i]->translucency > 0)
|
||||
{
|
||||
FSurfaceInfo Surf;
|
||||
memset(&Surf, 0x00, sizeof(Surf));
|
||||
FBITFIELD blendmode = HWR_TranstableToAlpha(po_ptrs[i]->translucency, &Surf);
|
||||
HWR_AddTransparentPolyobjectFloor(levelflats[polyobjsector->ceilingpic].lumpnum, po_ptrs[i], polyobjsector->ceilingheight,
|
||||
polyobjsector->lightlevel, Surf.FlatColor.s.alpha, polyobjsector, blendmode, NULL);
|
||||
|
|
Loading…
Reference in a new issue