diff --git a/src/gallium/include/frontend/api.h b/src/gallium/include/frontend/api.h index 91a15b4bbe7..33d8697f452 100644 --- a/src/gallium/include/frontend/api.h +++ b/src/gallium/include/frontend/api.h @@ -37,16 +37,6 @@ * their managers. */ -/** - * The supported rendering API. - */ -enum st_api_type { - ST_API_OPENGL, - ST_API_OPENVG, - - ST_API_COUNT -}; - /** * The profile of a context. */ @@ -518,7 +508,7 @@ struct st_manager }; /** - * Represent a rendering API such as OpenGL or OpenVG. + * Represent the OpenGL rendering API. * * Implemented by the gallium frontend and used by the frontend manager. */ @@ -529,11 +519,6 @@ struct st_api */ const char *name; - /** - * The supported rendering API. - */ - enum st_api_type api; - /** * The supported profiles. Tested with ST_PROFILE_*_MASK. */ diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 8c5dab9bd3f..b2abd0351e8 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -1450,7 +1450,6 @@ st_api_query_versions(struct st_api *stapi, struct st_manager *sm, static const struct st_api st_gl_api = { .name = "Mesa " PACKAGE_VERSION, - .api = ST_API_OPENGL, .profile_mask = ST_PROFILE_DEFAULT_MASK | ST_PROFILE_OPENGL_CORE_MASK | ST_PROFILE_OPENGL_ES1_MASK |