X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.cpp;h=cad7c9f4838962740c2036a6c91ab25517032e24;hb=a1ba04add302e7712d127b46d8d11386987a0aea;hp=71e5c39a948aabc7db12e701a80bcca32cfef3dc;hpb=cc3f4aaaf8d2b34347f69b026c10f82797059aa4;p=libs%2Fgl.git diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index 71e5c39a..cad7c9f4 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -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) { }