summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-06-24 12:13:02 +0900
committerChia-I Wu <[email protected]>2011-06-24 12:18:52 +0900
commit45aecf01144341fa1c536f6d5131ae36c374066e (patch)
treefe332b9791a90dd61b28157094647a96eb0798af /src/gallium/targets/egl-static
parentcb29ee91a27054714e589cf29ecf5025b7140813 (diff)
st/egl: drop guess_gl_api from egl_g3d_loader
It is not used and confusing.
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/egl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/targets/egl-static/egl.c b/src/gallium/targets/egl-static/egl.c
index e617ff50208..7e926cf0fa1 100644
--- a/src/gallium/targets/egl-static/egl.c
+++ b/src/gallium/targets/egl-static/egl.c
@@ -52,12 +52,6 @@ get_st_api(enum st_api_type api)
return stmod->stapi;
}
-static struct st_api *
-guess_gl_api(enum st_profile_type profile)
-{
- return get_st_api(ST_API_OPENGL);
-}
-
static struct pipe_screen *
create_drm_screen(const char *name, int fd)
{
@@ -79,7 +73,6 @@ loader_init(void)
egl_g3d_loader.profile_masks[i] = egl_st_get_profile_mask(i);
egl_g3d_loader.get_st_api = get_st_api;
- egl_g3d_loader.guess_gl_api = guess_gl_api;
egl_g3d_loader.create_drm_screen = create_drm_screen;
egl_g3d_loader.create_sw_screen = create_sw_screen;