mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 11:00:34 +00:00
fixed a bug with dqi_poly::draw() in other models
This commit is contained in:
parent
c49c4eccb2
commit
2938ea20d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user