]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/visitor.cpp
Rename InterfaceBlock::name to block_name for clarity
[libs/gl.git] / source / glsl / visitor.cpp
index fd9e9792b303cac8060d5b7b14b6f2fd74576b36..cc030eab7e31f33e71a8cb575f3013c7fdeab0df 100644 (file)
@@ -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);
        }