From bb3e75d9a57a9d1a516d42487a6f0b4b23166f60 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 27 Sep 2011 13:56:49 -0700 Subject: intel: Remove unused function get_glsl_version() It was replaced by _mesa_override_glsl_version(). Reviewed-by: Dave Airlie Reviewed-by: Kenneth Graunke Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_extensions.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/mesa/drivers/dri/intel') 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 @@ -32,22 +32,6 @@ #include "intel_extensions.h" #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. -- cgit v1.2.3