set TextureID = NULL after deleting the array
This commit is contained in:
@@ -133,6 +133,7 @@ static void DeleteTextures(void)
|
||||
{
|
||||
glDeleteTextures(NumTextures, TextureID);
|
||||
free(TextureID);
|
||||
TextureID = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user