mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-05 21:33:58 +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;
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user