Hi!
I found a small bug in hash.c:
HashFindFreeKeyBlock starts the
search for a free block with key=0
This is wrong because then "assert(key);"
in HashLookup fails.
Uwe
--- hash_orig.c Wed Dec 29 14:21:07 1999
+++ hash.c Wed Dec 29 14:21:49 1999
@@ -248,9 +248,9 @@
else {
/* the slow solution */
GLuint freeCount = 0;
- GLuint freeStart = 0;
+ GLuint freeStart = 1;
GLuint key;
- for (key=0; key!=maxKey; key++) {
+ for (key=1; key!=maxKey; key++) {
if (HashLookup(table, key)) {
/* darn, this key is already in use */
freeCount = 0;
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev