From 14b4e727fbea0da506dd8117a43cca2585043fa9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 15 Sep 2012 13:14:02 +1000 Subject: [PATCH] glsl: make tex_opcode_strs static No reason for this to be global from what I can see Reviewed-by: Matt Turner Acked-by: Kenneth Graunke Signed-off-by: Dave Airlie --- src/glsl/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index f59cdd29ab8..1c7aadacabf 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() { -- 2.30.2