projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5bf45
)
set TextureID = NULL after deleting the array
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 1 May 2008 22:21:43 +0000
(16:21 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 2 May 2008 15:31:38 +0000
(09:31 -0600)
progs/tests/manytex.c
patch
|
blob
|
history
diff --git
a/progs/tests/manytex.c
b/progs/tests/manytex.c
index 28f7d3b3f2d98d68e5d442c9bb2673c2eeffe7d3..900e5834fe89d245763d19180f1a1b78c3643bcf 100644
(file)
--- 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;
}