mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
Add _mesa_delete_texture_object() call to viaDeleteTexture
[Freedesktop BUG 2080]
This commit is contained in:
parent
ae68c3212b
commit
cc488b03a3
1 changed files with 3 additions and 0 deletions
|
|
@ -263,6 +263,9 @@ static void viaDeleteTexture(GLcontext *ctx, struct gl_texture_object *texObj)
|
|||
#ifdef DEBUG
|
||||
if (VIA_DEBUG) fprintf(stderr, "viaDeleteTexture - out\n");
|
||||
#endif
|
||||
|
||||
/* Free mipmap images and the texture object itself */
|
||||
_mesa_delete_texture_object(ctx, texObj);
|
||||
}
|
||||
|
||||
static GLboolean viaIsTextureResident(GLcontext *ctx,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue