summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-04-09 18:35:57 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-04-09 18:35:57 +0000
commit5f92c38f0efddf575466381a2ab47046255b29f1 (patch)
tree44c29c37ed14787b181949cf63710712f97cebaf
parentdb382c5b1d3357cc9add8a55306ce702a5df0e5e (diff)
Bug #2945: Fix math error that left half the hash buckets empty.
-rw-r--r--src/mesa/main/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c
index 01a8bd5e7e..0861af1055 100644
--- a/src/mesa/main/hash.c
+++ b/src/mesa/main/hash.c
@@ -41,7 +41,7 @@
#include "hash.h"
-#define TABLE_SIZE 1023 /**< Size of lookup table/array */
+#define TABLE_SIZE 1024 /**< Size of lookup table/array */
/**
* An entry in the hash table.