summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-09-27 13:56:49 -0700
committerChad Versace <[email protected]>2011-09-28 11:29:53 -0700
commitbb3e75d9a57a9d1a516d42487a6f0b4b23166f60 (patch)
treee27a6b0cabb657391293e644bfccb87a1b1debe7 /src/mesa/drivers/dri/intel
parenta1eff5570f5e3f893fe4d453aef5ce143712ab09 (diff)
intel: Remove unused function get_glsl_version()
It was replaced by _mesa_override_glsl_version(). Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index e9a36eb4f80..104e0969a9a 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -33,22 +33,6 @@
#include "utils.h"
/**
- * \brief Get GLSL version from the environment.
- *
- * If the environment variable INTEL_GLSL_VERSION is set, convert its value
- * to an integer and return it. Otherwise, return the default version, 120.
- */
-static GLuint
-get_glsl_version()
-{
- const char * s = getenv("INTEL_GLSL_VERSION");
- if (s == NULL)
- return 120;
- else
- return (GLuint) atoi(s);
-}
-
-/**
* Initializes potential list of extensions if ctx == NULL, or actually enables
* extensions for a context.
*/