mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- Fixed usage of uninitialized value in skybox rendering.
This commit is contained in:
parent
f9574a98fd
commit
6a87c6cd19
1 changed files with 1 additions and 0 deletions
|
@ -1280,6 +1280,7 @@ void R_DrawSkyBoxes ()
|
|||
ds_p->sprtopclip = R_NewOpening (pl->maxx - pl->minx + 1);
|
||||
ds_p->maskedtexturecol = ds_p->swall = -1;
|
||||
ds_p->bFogBoundary = false;
|
||||
ds_p->fake = 0;
|
||||
memcpy (openings + ds_p->sprbottomclip, floorclip + pl->minx, (pl->maxx - pl->minx + 1)*sizeof(short));
|
||||
memcpy (openings + ds_p->sprtopclip, ceilingclip + pl->minx, (pl->maxx - pl->minx + 1)*sizeof(short));
|
||||
|
||||
|
|
Loading…
Reference in a new issue