diff options
author | Brian Paul <[email protected]> | 2008-05-01 16:21:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-02 09:31:38 -0600 |
commit | 522f11b63279da6bc487f5b6fd71ecbba7aead52 (patch) | |
tree | 593245461a099379a00bb9e4c167f728190ddec1 /progs/tests | |
parent | 8a5bf456dcb84b315152b87e33c8736248ad0a46 (diff) |
set TextureID = NULL after deleting the array
Diffstat (limited to 'progs/tests')
-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 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; } |