diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-04-09 17:59:51 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-28 15:34:52 -0700 |
commit | 668d0a992a33fc2caeda070c34b3c98b5b628d2f (patch) | |
tree | 2cc821f6fb0955b187bd1f8b09c80ff1441775ef /ir_print_visitor.cpp | |
parent | aecdefa8c03553883b675a212ce217758def08cc (diff) |
ir_print_visitor: Remove unnecessary parens around array size in types.
Diffstat (limited to 'ir_print_visitor.cpp')
-rw-r--r-- | ir_print_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index de3df8874c..9a8eaf599d 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -30,7 +30,7 @@ print_type(const glsl_type *t) if (t->base_type == GLSL_TYPE_ARRAY) { printf("(array "); print_type(t->fields.array); - printf(" (%u))", t->length); + printf(" %u)", t->length); } else if (t->base_type == GLSL_TYPE_STRUCT) { printf("(struct (%s %u ", t->name ? t->name : "@", t->length); printf("(FINISHME: structure fields go here) "); |