projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
failover: several fixes to failover pipe module
[mesa.git]
/
src
/
mesa
/
tnl
/
t_draw.c
diff --git
a/src/mesa/tnl/t_draw.c
b/src/mesa/tnl/t_draw.c
index c97cf5f7b21c30358547188cd550c7eb4e09a1bc..5b2b2ae5495dd4b173f36833862ac88d7524cf80 100644
(file)
--- a/
src/mesa/tnl/t_draw.c
+++ b/
src/mesa/tnl/t_draw.c
@@
-251,7
+251,10
@@
static void bind_inputs( GLcontext *ctx,
VB->AttribPtr[_TNL_ATTRIB_EDGEFLAG],
VB->Count );
}
-
+ else {
+ /* the data previously pointed to by EdgeFlag may have been freed */
+ VB->EdgeFlag = NULL;
+ }
}