diff options
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index f64bc2f089..c56fd69d86 100644 --- a/src/mesa/drivers/dri/r200/r200_tex.c +++ b/src/mesa/drivers/dri/r200/r200_tex.c @@ -955,6 +955,8 @@ static void r200DeleteTexture( GLcontext *ctx, driDestroyTextureObject( t ); } + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, texObj); } /* Need: |