X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Foutput.cpp;fp=source%2Fglsl%2Foutput.cpp;h=52026c4d81fc18e7a7c3ded35eb1c57bedbc449e;hp=b85c45e30149cf38cfc7c8bc415124d6d3cc6eff;hb=d8bdf61007978e2c3670a22a58e2f105e8347537;hpb=d4b8a3f67c1f7184124bf95caee7e36ae8d6c82a diff --git a/source/glsl/output.cpp b/source/glsl/output.cpp index b85c45e3..52026c4d 100644 --- a/source/glsl/output.cpp +++ b/source/glsl/output.cpp @@ -306,7 +306,7 @@ void Formatter::visit(VariableDeclaration &var) void Formatter::visit(InterfaceBlock &iface) { - append(format("%s %s\n", iface.interface, iface.name)); + append(format("%s %s\n", iface.interface, iface.block_name)); if(iface.struct_declaration) iface.struct_declaration->members.visit(*this); if(!iface.instance_name.empty())