aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir_print_visitor.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-05 16:00:23 +0200
committermarha <marha@users.sourceforge.net>2011-06-05 16:00:23 +0200
commit0e1ac54142d49051da9a74f37a792225a4e8d7b0 (patch)
tree5005e9c9e268b054c8439919d1c95e572c15023e /mesalib/src/glsl/ir_print_visitor.cpp
parentcda19b1d226d565f1ca4327aeae827c621b3dfd6 (diff)
downloadvcxsrv-0e1ac54142d49051da9a74f37a792225a4e8d7b0.tar.gz
vcxsrv-0e1ac54142d49051da9a74f37a792225a4e8d7b0.tar.bz2
vcxsrv-0e1ac54142d49051da9a74f37a792225a4e8d7b0.zip
libX11 libXext libXmu mesa xkeyboard-config git update Jun 2011
Diffstat (limited to 'mesalib/src/glsl/ir_print_visitor.cpp')
-rw-r--r--mesalib/src/glsl/ir_print_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/ir_print_visitor.cpp b/mesalib/src/glsl/ir_print_visitor.cpp
index 02f3d8149..5b5409daa 100644
--- a/mesalib/src/glsl/ir_print_visitor.cpp
+++ b/mesalib/src/glsl/ir_print_visitor.cpp
@@ -370,7 +370,7 @@ void ir_print_visitor::visit(ir_constant *ir)
} else if (ir->type->is_record()) {
ir_constant *value = (ir_constant *) ir->components.get_head();
for (unsigned i = 0; i < ir->type->length; i++) {
- printf("(%s ", ir->type->fields.structure->name);
+ printf("(%s ", ir->type->fields.structure[i].name);
value->accept(this);
printf(")");