mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-15 14:27:37 +00:00
fixed a bug with dqi_poly::draw() in other models
This commit is contained in:
@@ -963,6 +963,7 @@ void dqi_poly::draw() {
|
|||||||
tab = &glcoords;
|
tab = &glcoords;
|
||||||
offset = 0;
|
offset = 0;
|
||||||
cnt = isize(glcoords);
|
cnt = isize(glcoords);
|
||||||
|
flags = poly_flags;
|
||||||
gldraw();
|
gldraw();
|
||||||
swap(tinf->tvertices, tv);
|
swap(tinf->tvertices, tv);
|
||||||
}
|
}
|
||||||
@@ -972,6 +973,7 @@ void dqi_poly::draw() {
|
|||||||
offset = 0;
|
offset = 0;
|
||||||
cnt = isize(glcoords);
|
cnt = isize(glcoords);
|
||||||
if(nofill) color = 0, tinf = NULL;
|
if(nofill) color = 0, tinf = NULL;
|
||||||
|
flags = poly_flags;
|
||||||
gldraw();
|
gldraw();
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user