]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Add support for function overloading
[libs/gl.git] / source / glsl / syntax.cpp
index 71e5c39a948aabc7db12e701a80bcca32cfef3dc..cad7c9f4838962740c2036a6c91ab25517032e24 100644 (file)
@@ -404,6 +404,7 @@ FunctionDeclaration::FunctionDeclaration(const FunctionDeclaration &other):
        name(other.name),
        parameters(other.parameters),
        body(other.body),
+       signature(other.signature),
        definition(other.definition==&other ? this : 0),
        return_type_declaration(0)
 { }