summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-09-15 13:02:51 +1000
committerDave Airlie <airlied@gmail.com>2012-09-15 18:02:46 +1000
commit7056193a4311f09de5e7280ce474aeec88865d2f (patch)
treee7a9082fabe20d914588242cfc42b8e9aa57e452
parent0b45bd146ad140ba982c27ba4c50c121a8bafe59 (diff)
glsl: make builtin_mem_ctx a static
This isn't used outside the generated file. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rwxr-xr-xsrc/glsl/builtins/tools/generate_builtins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py
index 86660a9362c..9dc3279dfcc 100755
--- a/src/glsl/builtins/tools/generate_builtins.py
+++ b/src/glsl/builtins/tools/generate_builtins.py
@@ -225,7 +225,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne
print 'static gl_shader *builtin_profiles[%d];' % len(profiles)
print """
-void *builtin_mem_ctx = NULL;
+static void *builtin_mem_ctx = NULL;
void
_mesa_glsl_release_functions(void)