summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-04-09 18:38:27 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-04-09 18:38:27 +0000
commit679515b83ad3aff93c0e759783e5a8e567d5dc15 (patch)
treefad8fd8d8c8055954730f72b313ee15f333e93b4
parentd06c1f4fd3f44da5a568f8cfa942d8137cf7baa8 (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 78be122aab..230f86f30b 100644
--- a/src/mesa/main/hash.c
+++ b/src/mesa/main/hash.c
@@ -42,7 +42,7 @@
#include "context.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.