[Mesa-dev] [PATCH 2/2] intel: Remove unused function get_glsl_version()
Chad Versace
chad at chad-versace.us
Tue Sep 27 15:28:20 PDT 2011
It was replaced by _mesa_override_glsl_version().
Signed-off-by: Chad Versace <chad at chad-versace.us>
---
src/mesa/drivers/dri/intel/intel_extensions.c | 16 ----------------
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 e9a36eb..104e096 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.
*/
--
1.7.6.2
More information about the mesa-dev
mailing list