diff options
author | Matt Turner <[email protected]> | 2014-09-21 22:50:36 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-09-24 09:58:43 -0700 |
commit | 209eba42ebfc0108ad37b5a83631ed6c019a63c3 (patch) | |
tree | 77e8326d94268ac2cb0c68304311d9e695d9a1c0 /src/mapi/glapi | |
parent | 9499d6e358786f1ed3ed79e16fd301106cd08ddd (diff) |
mesa: Drop _mesa_bsearch() wrapper.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/gl_enums.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py index 0214932b63a..35919d68a41 100644 --- a/src/mapi/glapi/gen/gl_enums.py +++ b/src/mapi/glapi/gen/gl_enums.py @@ -82,10 +82,10 @@ const char *_mesa_lookup_enum_by_nr( int nr ) STATIC_ASSERT(sizeof(enum_string_table) < (1 << 16)); - elt = _mesa_bsearch(& nr, enum_string_table_offsets, - Elements(enum_string_table_offsets), - sizeof(enum_string_table_offsets[0]), - (cfunc) compar_nr); + elt = bsearch(& nr, enum_string_table_offsets, + Elements(enum_string_table_offsets), + sizeof(enum_string_table_offsets[0]), + (cfunc) compar_nr); if (elt != NULL) { return &enum_string_table[elt->offset]; |