mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
glsl/types.cpp: Fix function_key_compare
This commit is contained in:
parent
b33f5d3889
commit
37a38548d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1055,7 +1055,7 @@ function_key_compare(const void *a, const void *b)
|
|||
return 1;
|
||||
|
||||
return memcmp(key1->fields.parameters, key2->fields.parameters,
|
||||
(key1->length + 1) * sizeof(*key1->fields.parameters));
|
||||
(key1->length + 1) * sizeof(*key1->fields.parameters)) == 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue