From d389a40bd94c1172c75ea396c8a173f643bb9f56 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 15 Apr 2023 01:14:56 +0200 Subject: [PATCH] removed unused variables --- drawing.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index a6b18836..37d180b1 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -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);