Skip to content

Commit

Permalink
Fixed usage of wrong drawlist for lit flats in legacy renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Apr 17, 2018
1 parent 4870cc7 commit a4a4abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/compatibility/gl_20.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit a4a4abe

Please sign in to comment.