mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
glsl/types: Fix up function type hash table insertion
This commit is contained in:
parent
a2d15ee698
commit
ea56d0cb1d
1 changed files with 1 additions and 1 deletions
|
|
@ -988,7 +988,7 @@ glsl_type::get_function_instance(const glsl_type *return_type,
|
|||
const glsl_type *t = new glsl_type(return_type, params, num_params);
|
||||
mtx_lock(&glsl_type::mutex);
|
||||
|
||||
_mesa_hash_table_insert(function_types, t, (void *) t);
|
||||
entry = _mesa_hash_table_insert(function_types, t, (void *) t);
|
||||
}
|
||||
|
||||
const glsl_type *t = (const glsl_type *)entry->data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue