diff options
author | Jason Ekstrand <[email protected]> | 2015-01-15 07:58:07 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 13:21:27 -0800 |
commit | 8ed5305d28d9309d651dfec3fbf4349854694694 (patch) | |
tree | 0af9af419be48ecd3b00934cfd355c9285c1fd7d /src/mesa/main/hash.c | |
parent | f0aec4ee1e364927f3003cabafa644035bcd803c (diff) |
hash_table: Rename insert_with_hash to insert_pre_hashed
We already have search_pre_hashed. This makes the APIs match better.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/hash.c')
-rw-r--r-- | src/mesa/main/hash.c | 2 |
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); } } } |