]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix another case of future features leaking
authorMikko Rasa <tdb@tdb.fi>
Mon, 1 Mar 2021 19:03:52 +0000 (21:03 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 1 Mar 2021 19:06:08 +0000 (21:06 +0200)
source/glsl/visitor.cpp

index 9bbd4914b1a0a289caa3c48a3504fa6c79e0c11d..f4b2a8d01c25294ca153e1a629d86de0260b1cc8 100644 (file)
@@ -189,7 +189,7 @@ void NodeRemover::visit(InterfaceBlock &iface)
 void NodeRemover::visit(FunctionDeclaration &func)
 {
        if(to_remove->count(&func))
-               remove_from_map(stage->functions, func.name+func.signature, func);
+               remove_from_map(stage->functions, func.name, func);
        TraversingVisitor::visit(func);
 }