mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
set TextureID = NULL after deleting the array
This commit is contained in:
parent
8a5bf456dc
commit
522f11b632
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ static void DeleteTextures(void)
|
|||
{
|
||||
glDeleteTextures(NumTextures, TextureID);
|
||||
free(TextureID);
|
||||
TextureID = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue