summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-06 07:50:55 -0700
committerBrian Paul <[email protected]>2009-03-06 07:50:55 -0700
commita22088b7d52b42923e331c99ed652f36cb86b3c1 (patch)
treed9d00d075a43d9993f3ea05cd424bfd68cd3ca08
parente89c49147f8298ae3423f0696d42fa989e677277 (diff)
mesa: Fix typo.
Windows threads block if one over-unlocks them. (cherry picked from master, commit f6159ba4d5da9579de55afb01b4f460f9b8a0327)
-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 ffb2c4d946e..976f9d999b7 100644
--- a/src/mesa/main/hash.c
+++ b/src/mesa/main/hash.c
@@ -300,7 +300,7 @@ _mesa_HashWalk(const struct _mesa_HashTable *table,
GLuint pos;
ASSERT(table);
ASSERT(callback);
- _glthread_UNLOCK_MUTEX(table2->Mutex);
+ _glthread_LOCK_MUTEX(table2->Mutex);
for (pos = 0; pos < TABLE_SIZE; pos++) {
struct HashEntry *entry;
for (entry = table->Table[pos]; entry; entry = entry->Next) {