diff options
author | Chia-I Wu <[email protected]> | 2011-01-07 17:24:16 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-01-10 11:50:35 +0800 |
commit | 12583174c53b23be6db1fb1cfa3dd1e8dbbd3c15 (patch) | |
tree | e059000d9e7066067b28343be6507fa37e274793 /src/gallium/targets/egl/egl.c | |
parent | c98ea26e16b6458b4385d6558936696e4d099455 (diff) |
mesa: Remove GLES overlay.
With core mesa doing runtime API checks, GLES overlay is no longer
needed. Make --enable-gles-overlay equivalent to --enable-gles[12].
There may still be places where compile-time checks are done. They
could be fixed case by case.
Diffstat (limited to 'src/gallium/targets/egl/egl.c')
-rw-r--r-- | src/gallium/targets/egl/egl.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/gallium/targets/egl/egl.c b/src/gallium/targets/egl/egl.c index bb182ba9845..61fe5069e91 100644 --- a/src/gallium/targets/egl/egl.c +++ b/src/gallium/targets/egl/egl.c @@ -205,19 +205,7 @@ get_st_api_full(enum st_api_type api, enum st_profile_type profile) switch (api) { case ST_API_OPENGL: symbol = ST_CREATE_OPENGL_SYMBOL; - switch (profile) { - case ST_PROFILE_OPENGL_ES1: - names[count++] = "GLESv1_CM"; - names[count++] = "GL"; - break; - case ST_PROFILE_OPENGL_ES2: - names[count++] = "GLESv2"; - names[count++] = "GL"; - break; - default: - names[count++] = "GL"; - break; - } + names[count++] = "GL"; break; case ST_API_OPENVG: symbol = ST_CREATE_OPENVG_SYMBOL; |