summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2017-08-08 16:24:28 +0200
committerRobert Foss <robert.foss@collabora.com>2017-08-08 16:24:28 +0200
commit91b3719922591da17dae3c44e832524c9c93d752 (patch)
treead4fcb7add1be69d87bcd0c408233c40e192dd75
parentb5530fb106afd39c8b28766886b0e9e07e194941 (diff)
downloadmesa-android-etnaviv.tar.gz
mesa-android-etnaviv.tar.xz
Revert "HACK: Force GL ES 3.0 and GLSL 3.0"android-etnaviv
This reverts commit 66ae466ecbd19a953226f2f7bc9db124bb95b054.
-rw-r--r--src/mesa/main/version.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 78be839..34f8bbb 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -72,11 +72,6 @@ get_gl_override(gl_api api, int *version, bool *fwd_context,
STATIC_ASSERT(ARRAY_SIZE(override) == API_OPENGL_LAST + 1);
- *version = 30;
- *fwd_context = 0;
- *compat_context = 0;
- return;
-
if (api == API_OPENGLES)
goto exit;
@@ -220,8 +215,6 @@ _mesa_override_glsl_version(struct gl_constants *consts)
const char *version;
int n;
- consts->GLSLVersion = 300;
- return;
version = getenv(env_var);
if (!version) {
return;