summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/remap.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-06-07 17:33:38 +0100
committerEmil Velikov <[email protected]>2016-06-13 15:31:28 +0100
commit390678f27daf3349746b47570c9897a3208ae50b (patch)
tree38242a5af3d67522842283686e8ad24628200670 /src/mesa/main/remap.c
parent5b700059a837fba42b4af71884e3957a244992e6 (diff)
mesa: remove used _mesa_get_function_spec() and gl_function_remap
Final user was killed with last commit. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/remap.c')
-rw-r--r--src/mesa/main/remap.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c
index c64b8194812..e76293c7f4e 100644
--- a/src/mesa/main/remap.c
+++ b/src/mesa/main/remap.c
@@ -50,24 +50,6 @@ int driDispatchRemapTable[driDispatchRemapTable_size];
/**
- * Return the spec string associated with the given function index.
- * The index is available from including remap_helper.h.
- *
- * \param func_index an opaque function index.
- *
- * \return the spec string associated with the function index, or NULL.
- */
-const char *
-_mesa_get_function_spec(GLint func_index)
-{
- if (func_index < ARRAY_SIZE(_mesa_function_pool))
- return _mesa_function_pool + func_index;
- else
- return NULL;
-}
-
-
-/**
* Map a function by its spec. The function will be added to glapi,
* and the dispatch offset will be returned.
*