]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/parser.cpp
Resolve constructors in FunctionResolver
[libs/gl.git] / source / glsl / parser.cpp
index a2e3296d81b9c52ff70139a3cf91f747aed03485..8f2160a626674675b1f63b76ce5dc992d92451ff 100644 (file)
@@ -575,7 +575,6 @@ RefPtr<FunctionCall> Parser::parse_function_call(const VariableReference &var)
 {
        RefPtr<FunctionCall> call = create_node<FunctionCall>();
        call->name = var.name;
-       call->constructor = is_type(call->name);
        call->oper = &Operator::get_operator("(", Operator::POSTFIX);
        tokenizer.expect("(");
        while(tokenizer.peek_token()!=")")