diff options
author | Dave Airlie <[email protected]> | 2012-09-15 13:26:39 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-09-18 07:57:42 +1000 |
commit | 1ce9f25fde5fc33566f4effbb94d342a20d50256 (patch) | |
tree | 39a3f72b5475a41530665afa97b01e217da25d22 /src/glsl | |
parent | bfd55711c1eb32ffbfceb9d566abae98f0015f23 (diff) |
glsl: make _mesa_builtin_uniform_desc static
I can't see any reason this is global (unless for debugging)
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/builtin_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index 03b64c931a4..353805b7ffe 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -328,7 +328,7 @@ static struct gl_builtin_uniform_element gl_NormalMatrix_elements[] = { #define STATEVAR(name) {#name, name ## _elements, Elements(name ## _elements)} -const struct gl_builtin_uniform_desc _mesa_builtin_uniform_desc[] = { +static const struct gl_builtin_uniform_desc _mesa_builtin_uniform_desc[] = { STATEVAR(gl_DepthRange), STATEVAR(gl_ClipPlane), STATEVAR(gl_Point), |