OSDN Git Service
(root)
/
android-x86
/
external-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
8cc847a
..
53ac1a5
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;
+ }
}
/*-----------------------------------------------------------------------------