aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-05-26 12:14:39 -0700
committerIan Romanick <[email protected]>2015-05-28 16:56:31 -0700
commit464c56d3d5ca2c9d6e437e756950f0fa2996d8da (patch)
tree4380332d778747872dd6f3c05edec33f4abe54ab /src/mesa/main/version.c
parent1fe243938b11be740417cf016d8c50cd69228628 (diff)
dri_util: Use _mesa_override_gl_version_contextless
Remove _mesa_get_gl_version_override. We don't need two functions that do basically the same thing. This change seemed easier (esp. with the next patch) than going the other way. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main/version.c')
-rw-r--r--src/mesa/main/version.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index e817e2d92a0..668658fdbf7 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -157,22 +157,6 @@ _mesa_override_gl_version(struct gl_context *ctx)
}
/**
- * Returns the gl override value
- *
- * version > 0 indicates there is an override requested
- */
-int
-_mesa_get_gl_version_override(void)
-{
- int version;
- bool fwd_context, compat_context;
-
- get_gl_override(&version, &fwd_context, &compat_context);
-
- return version;
-}
-
-/**
* Override the context's GLSL version if the environment variable
* MESA_GLSL_VERSION_OVERRIDE is set. Valid values for
* MESA_GLSL_VERSION_OVERRIDE are integers, such as "130".