summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-01 16:21:43 -0600
committerBrian Paul <[email protected]>2008-05-02 09:31:38 -0600
commit522f11b63279da6bc487f5b6fd71ecbba7aead52 (patch)
tree593245461a099379a00bb9e4c167f728190ddec1
parent8a5bf456dcb84b315152b87e33c8736248ad0a46 (diff)
set TextureID = NULL after deleting the array
-rw-r--r--progs/tests/manytex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/tests/manytex.c b/progs/tests/manytex.c
index 28f7d3b3f2d..900e5834fe8 100644
--- a/progs/tests/manytex.c
+++ b/progs/tests/manytex.c
@@ -133,6 +133,7 @@ static void DeleteTextures(void)
{
glDeleteTextures(NumTextures, TextureID);
free(TextureID);
+ TextureID = NULL;
}