From f6159ba4d5da9579de55afb01b4f460f9b8a0327 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 6 Mar 2009 14:01:24 +0000 Subject: mesa: Fix typo. Windows threads block if one over-unlocks them. --- src/mesa/main/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index ffb2c4d946..976f9d999b 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) { -- cgit v1.2.3