From: Brian Paul Date: Thu, 1 May 2008 22:21:43 +0000 (-0600) Subject: set TextureID = NULL after deleting the array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=522f11b63279da6bc487f5b6fd71ecbba7aead52;p=mesa.git set TextureID = NULL after deleting the array --- 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; }