summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-01 16:21:43 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-02 09:31:38 -0600
commit522f11b63279da6bc487f5b6fd71ecbba7aead52 (patch)
tree593245461a099379a00bb9e4c167f728190ddec1 /progs
parent8a5bf456dcb84b315152b87e33c8736248ad0a46 (diff)
set TextureID = NULL after deleting the array
Diffstat (limited to 'progs')
-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 28f7d3b3f2..900e5834fe 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;
}