1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

fixed a bug with dqi_poly::draw() in other models

This commit is contained in:
Zeno Rogue 2018-09-05 03:51:30 +02:00
parent c49c4eccb2
commit 2938ea20d0

View File

@ -963,6 +963,7 @@ void dqi_poly::draw() {
tab = &glcoords;
offset = 0;
cnt = isize(glcoords);
flags = poly_flags;
gldraw();
swap(tinf->tvertices, tv);
}
@ -972,6 +973,7 @@ void dqi_poly::draw() {
offset = 0;
cnt = isize(glcoords);
if(nofill) color = 0, tinf = NULL;
flags = poly_flags;
gldraw();
}
continue;