mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
delete the textures
This commit is contained in:
parent
263581bba4
commit
001dc022fc
1 changed files with 5 additions and 0 deletions
|
|
@ -42,6 +42,8 @@
|
|||
#include "enums.h"
|
||||
#include "texstore.h"
|
||||
#include "texformat.h"
|
||||
#include "teximage.h"
|
||||
#include "texobj.h"
|
||||
#include "imports.h"
|
||||
|
||||
|
||||
|
|
@ -568,6 +570,9 @@ static void mach64DDDeleteTexture( GLcontext *ctx,
|
|||
|
||||
mach64DestroyTexObj( mmesa, t );
|
||||
tObj->DriverData = NULL;
|
||||
/* Free mipmap images and the texture object itself */
|
||||
_mesa_delete_texture_object(ctx, tObj);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue