summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/include/state_tracker/st_api.h12
-rw-r--r--src/mesa/state_tracker/st_manager.c7
2 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 356863d8531..41daa47986c 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -175,11 +175,6 @@ enum st_manager_param {
ST_MANAGER_BROKEN_INVALIDATE
};
-/**
- * The return type of st_api->get_proc_address.
- */
-typedef void (*st_proc_t)(void);
-
struct pipe_context;
struct pipe_resource;
struct pipe_fence_handle;
@@ -498,13 +493,6 @@ struct st_api
int *gl_es2_version);
/**
- * Return an API entry point.
- *
- * For GL this is the same as _glapi_get_proc_address.
- */
- st_proc_t (*get_proc_address)(struct st_api *stapi, const char *procname);
-
- /**
* Create a rendering context.
*/
struct st_context_iface *(*create_context)(struct st_api *stapi,
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 33f56ea55e1..eaca22a30de 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -802,12 +802,6 @@ st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,
return ret;
}
-static st_proc_t
-st_api_get_proc_address(struct st_api *stapi, const char *procname)
-{
- return (st_proc_t) _glapi_get_proc_address(procname);
-}
-
static void
st_api_destroy(struct st_api *stapi)
{
@@ -968,7 +962,6 @@ static const struct st_api st_gl_api = {
ST_API_FEATURE_MS_VISUALS_MASK,
st_api_destroy,
st_api_query_versions,
- st_api_get_proc_address,
st_api_create_context,
st_api_make_current,
st_api_get_current,