diff options
author | Brian Paul <[email protected]> | 2004-01-11 16:27:53 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-01-11 16:27:53 +0000 |
commit | 8bc3ce92a2fa1b8b4ae2b928d4102389f2298917 (patch) | |
tree | 3c25d82b26158c0fc8dd6d23c589a82f1595d6f3 /src/mesa/drivers/dri/radeon | |
parent | add9f2168a5d6b15eb9955ee761246c4f4cf8458 (diff) |
call _mesa_delete_texture_object() from in the driver's DeleteTexture function
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex.c b/src/mesa/drivers/dri/radeon/radeon_tex.c index 73825a8d909..0daae1fab9b 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tex.c +++ b/src/mesa/drivers/dri/radeon/radeon_tex.c @@ -693,6 +693,9 @@ static void radeonDeleteTexture( GLcontext *ctx, driDestroyTextureObject( t ); } + + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, texObj); } /* Need: |