1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

removed unused variables

This commit is contained in:
Zeno Rogue 2023-04-15 01:14:56 +02:00
parent 5a4f6595e1
commit d389a40bd9

View File

@ -1446,8 +1446,6 @@ void draw_stretch(dqi_poly *p) {
auto &lb = results[i+1];
auto &lc = results[i+2];
int ia = 0, ib = 0, ic = 0;
for(auto& ha: la) for(auto& hb: lb) if(test(ha, hb))
for(auto& hc: lc) if(test(ha, hc) && test(hb, hc)) {
@ -1457,7 +1455,6 @@ void draw_stretch(dqi_poly *p) {
if(p->tinf)
for(int j=0; j<3; j++)
stinf.tvertices.push_back(p->tinf->tvertices[p->offset_texture+i+j]);
ia++; ib++; ic++;
}
}
npoly.cnt = isize(glcoords);