diff options
author | Dave Airlie <airlied@linux.ie> | 2008-05-09 13:41:02 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-05-09 13:41:02 +1000 |
commit | 86bd98c6aa0d1a8533699af911c7c40c549b3965 (patch) | |
tree | 4a52e21ce4d9331d8125a203031200483ebf03c6 /src/mesa/drivers/dri/unichrome/via_tex.c | |
parent | 0449bab2f8722f277213e44da13de6a0b5ae7b5b (diff) | |
download | external_mesa3d-86bd98c6aa0d1a8533699af911c7c40c549b3965.zip external_mesa3d-86bd98c6aa0d1a8533699af911c7c40c549b3965.tar.gz external_mesa3d-86bd98c6aa0d1a8533699af911c7c40c549b3965.tar.bz2 |
swrast/dri: switch over users of generate_mipmap to new interface
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c index 0261a3f..15f15a8 100644 --- a/src/mesa/drivers/dri/unichrome/via_tex.c +++ b/src/mesa/drivers/dri/unichrome/via_tex.c @@ -820,9 +820,7 @@ static void viaTexImage(GLcontext *ctx, /* GL_SGIS_generate_mipmap */ if (level == texObj->BaseLevel && texObj->GenerateMipmap) { - _mesa_generate_mipmap(ctx, target, - &ctx->Texture.Unit[ctx->Texture.CurrentUnit], - texObj); + _mesa_generate_mipmap(ctx, target, texObj); } _mesa_unmap_teximage_pbo(ctx, packing); |