summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-09-15 13:14:27 +1000
committerDave Airlie <[email protected]>2012-09-15 18:03:30 +1000
commitda86e62d3c582dc3a96e361692d876c956b1fd24 (patch)
tree1909e6ac559060f90d74ebc15290fbed12ba32a5 /src/mesa/swrast
parent14b4e727fbea0da506dd8117a43cca2585043fa9 (diff)
mesa/ati_fragshader: no need for opcodes to be global.
I can't see these in use anywhere outside this file. Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_atifragshader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c
index 394fac50b66..e3b57b72c8e 100644
--- a/src/mesa/swrast/s_atifragshader.c
+++ b/src/mesa/swrast/s_atifragshader.c
@@ -237,7 +237,7 @@ finish_pass(struct atifs_machine *machine)
}
}
-struct ati_fs_opcode_st ati_fs_opcodes[] = {
+static struct ati_fs_opcode_st ati_fs_opcodes[] = {
{GL_ADD_ATI, 2},
{GL_SUB_ATI, 2},
{GL_MUL_ATI, 2},