intel: Remove unused function get_glsl_version()
It was replaced by _mesa_override_glsl_version(). Reviewed-by: Dave Airlie <airlied@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user