projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d15ee
)
glsl/types: Fix up function type hash table insertion
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 28 Aug 2015 19:00:25 +0000
(12:00 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 28 Aug 2015 19:00:25 +0000
(12:00 -0700)
src/glsl/glsl_types.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_types.cpp
b/src/glsl/glsl_types.cpp
index 76814e894ed68452c3150824391c78e0cfb65911..c976826733cbcc95f4b50243079c143f5a3c3c52 100644
(file)
--- a/
src/glsl/glsl_types.cpp
+++ b/
src/glsl/glsl_types.cpp
@@
-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;