Cleanup: remove dead code

This commit is contained in:
Campbell Barton 2022-08-22 12:33:59 +10:00
parent 2a43c9bb08
commit 9581be930b
1 changed files with 0 additions and 9 deletions

View File

@ -1620,7 +1620,6 @@ int imagewraposa(Tex *tex,
/* Choice: */
if (tex->imaflag & TEX_MIPMAP) {
ImBuf *previbuf, *curibuf;
float bumpscale;
dx = minx;
dy = miny;
@ -1631,14 +1630,6 @@ int imagewraposa(Tex *tex,
pixsize = 1.0f / (float)MIN2(ibuf->x, ibuf->y);
bumpscale = pixsize / maxd;
if (bumpscale > 1.0f) {
bumpscale = 1.0f;
}
else {
bumpscale *= bumpscale;
}
curmap = 0;
previbuf = curibuf = ibuf;
while (curmap < IMB_MIPMAP_LEVELS && ibuf->mipmap[curmap]) {