mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Fixed usage of wrong drawlist for lit flats in legacy renderer
https://forum.zdoom.org/viewtopic.php?t=60279
This commit is contained in:
parent
4870cc73e2
commit
a4a4abe896
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ bool GLFlat::PutFlatCompat(bool fog)
|
|||
|
||||
|
||||
int list = list_indices[masked][foggy];
|
||||
auto newflat = gl_drawinfo->drawlists[list].NewFlat();
|
||||
auto newflat = gl_drawinfo->dldrawlists[list].NewFlat();
|
||||
*newflat = *this;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue