Module: Mesa Branch: master Commit: 14b4e727fbea0da506dd8117a43cca2585043fa9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14b4e727fbea0da506dd8117a43cca2585043fa9
Author: Dave Airlie <[email protected]> Date: Sat Sep 15 13:14:02 2012 +1000 glsl: make tex_opcode_strs static No reason for this to be global from what I can see Reviewed-by: Matt Turner <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Dave Airlie <[email protected]> --- src/glsl/ir.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index f59cdd2..1c7aada 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1282,7 +1282,7 @@ ir_dereference::is_lvalue() const } -const char *tex_opcode_strs[] = { "tex", "txb", "txl", "txd", "txf", "txs" }; +static const char *tex_opcode_strs[] = { "tex", "txb", "txl", "txd", "txf", "txs" }; const char *ir_texture::opcode_string() { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
