X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fvisitor.cpp;h=cc030eab7e31f33e71a8cb575f3013c7fdeab0df;hp=fd9e9792b303cac8060d5b7b14b6f2fd74576b36;hb=d8bdf61007978e2c3670a22a58e2f105e8347537;hpb=d4b8a3f67c1f7184124bf95caee7e36ae8d6c82a diff --git a/source/glsl/visitor.cpp b/source/glsl/visitor.cpp index fd9e9792..cc030eab 100644 --- a/source/glsl/visitor.cpp +++ b/source/glsl/visitor.cpp @@ -191,7 +191,7 @@ void NodeRemover::visit(InterfaceBlock &iface) { if(to_remove->count(&iface)) { - remove_from_map(stage->interface_blocks, iface.interface+iface.name, iface); + remove_from_map(stage->interface_blocks, iface.interface+iface.block_name, iface); if(!iface.instance_name.empty()) remove_from_map(stage->interface_blocks, "_"+iface.instance_name, iface); }