diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-01 16:21:43 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-02 09:31:38 -0600 |
commit | 522f11b63279da6bc487f5b6fd71ecbba7aead52 (patch) | |
tree | 593245461a099379a00bb9e4c167f728190ddec1 /progs | |
parent | 8a5bf456dcb84b315152b87e33c8736248ad0a46 (diff) | |
download | external_mesa3d-522f11b63279da6bc487f5b6fd71ecbba7aead52.zip external_mesa3d-522f11b63279da6bc487f5b6fd71ecbba7aead52.tar.gz external_mesa3d-522f11b63279da6bc487f5b6fd71ecbba7aead52.tar.bz2 |
set TextureID = NULL after deleting the array
Diffstat (limited to 'progs')
-rw-r--r-- | progs/tests/manytex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/tests/manytex.c b/progs/tests/manytex.c index 28f7d3b..900e583 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; } |