X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fmipmap.c;h=b3067004842ab25622be5e52e2a8a5d2eb21ecc8;hb=4147bb24d49a10498e00039fc1dc9aa5f1316777;hp=7a719745fcc593d26a192928e7d1af0d498f9486;hpb=adabd0e81e287cd5dac60fa63841d8b096d10d5f;p=mesa.git diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index 7a719745fcc..b3067004842 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -1598,9 +1598,6 @@ _mesa_generate_mipmap(GLcontext *ctx, GLenum target, return; } - if (dstImage->ImageOffsets) - _mesa_free(dstImage->ImageOffsets); - /* Free old image data */ if (dstImage->Data) ctx->Driver.FreeTexImageData(ctx, dstImage);