Fixed usage of wrong drawlist for lit flats in legacy renderer

https://forum.zdoom.org/viewtopic.php?t=60279
This commit is contained in:
alexey.lysiuk 2018-04-17 17:06:58 +03:00
parent 4870cc73e2
commit a4a4abe896

View file

@ -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;
}