summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)