projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d98fa
)
glu/sgi: Initialize member of class Pool.
author
Vinson Lee
<vlee@vmware.com>
Mon, 15 Feb 2010 05:45:01 +0000
(21:45 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 15 Feb 2010 05:45:01 +0000
(21:45 -0800)
src/glu/sgi/libnurbs/internals/bufpool.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/internals/bufpool.cc
b/src/glu/sgi/libnurbs/internals/bufpool.cc
index 8cc847ab2259150f7ed7c20eebc2894a4141e8e9..53ac1a5695d138faa4003fe9b32503af6c4a3b00 100644
(file)
--- a/
src/glu/sgi/libnurbs/internals/bufpool.cc
+++ b/
src/glu/sgi/libnurbs/internals/bufpool.cc
@@
-60,6
+60,9
@@
Pool::Pool( int _buffersize, int initpoolsize, const char *n )
curblock = 0;
freelist = 0;
nextfree = 0;
+ for (int i = 0; i < NBLOCKS; i++) {
+ blocklist[i] = 0;
+ }
}
/*-----------------------------------------------------------------------------