summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-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 a8c796b9ac9..1a152ec340c 100644
--- a/src/mesa/main/hash.c
+++ b/src/mesa/main/hash.c
@@ -277,7 +277,7 @@ _mesa_HashInsert_unlocked(struct _mesa_HashTable *table, GLuint key, void *data)
if (entry) {
entry->data = data;
} else {
- _mesa_hash_table_insert_with_hash(table->ht, hash, uint_key(key), data);
+ _mesa_hash_table_insert_pre_hashed(table->ht, hash, uint_key(key), data);
}
}
}