set TextureID = NULL after deleting the array

This commit is contained in:
Brian Paul 2008-05-01 16:21:43 -06:00
parent 8a5bf456dc
commit 522f11b632
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ static void DeleteTextures(void)
{
glDeleteTextures(NumTextures, TextureID);
free(TextureID);
TextureID = NULL;
}