mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01: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