diff options
author | Emil Velikov <[email protected]> | 2016-06-07 17:33:35 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-13 15:31:28 +0100 |
commit | b5dd8e0cf877db2adc249db8e132beeea79ba1cf (patch) | |
tree | e6ed1c24d6bcebb807b6aec489e1769eca6e62e9 /src/mesa/main | |
parent | 07ae8c7df70eefa536725a3aedeacf3f2964f38b (diff) |
mesa: remove unused function _mesa_map_static_functions()
Unused as of commit 5a175127f38 ("dri: Remove all extension enabling
utility functions")
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/remap.c | 20 | ||||
-rw-r--r-- | src/mesa/main/remap.h | 3 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c index 5a953877285..7c340265a03 100644 --- a/src/mesa/main/remap.c +++ b/src/mesa/main/remap.c @@ -155,26 +155,6 @@ _mesa_map_function_array(const struct gl_function_remap *func_array) /** - * Map the functions which are already static. - * - * When a extension function are incorporated into the ABI, the - * extension suffix is usually stripped. Mapping such functions - * makes sure the alternative names are available. - * - * Note that functions mapped by _mesa_init_remap_table() are - * excluded. - */ -void -_mesa_map_static_functions(void) -{ - /* Remap static functions which have alternative names and are in the ABI. - * This is to be on the safe side. glapi should have defined those names. - */ - _mesa_map_function_array(MESA_alt_functions); -} - - -/** * Initialize the remap table. This is called in one_time_init(). * The remap table needs to be initialized before calling the * CALL/GET/SET macros defined in main/dispatch.h. diff --git a/src/mesa/main/remap.h b/src/mesa/main/remap.h index 9d91b83c1c2..3d8eab7dfef 100644 --- a/src/mesa/main/remap.h +++ b/src/mesa/main/remap.h @@ -51,9 +51,6 @@ extern void _mesa_map_function_array(const struct gl_function_remap *func_array); extern void -_mesa_map_static_functions(void); - -extern void _mesa_init_remap_table(void); |