X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.cpp;h=025af2710bb55da807fb686b6876eaef41d4ce22;hp=11a099b5ad3175e94b82f8a75b2877ec5e07c5a9;hb=6dcf74922f46b086ad394c19fd6ce083a635b290;hpb=713ff9619daa858ffbd428f7699cd57598563dbd diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index 11a099b5..025af271 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -400,6 +400,8 @@ void InterfaceBlock::visit(NodeVisitor &visitor) FunctionDeclaration::FunctionDeclaration(): + virtua(false), + overrd(false), definition(0), return_type_declaration(0) { } @@ -409,6 +411,8 @@ FunctionDeclaration::FunctionDeclaration(const FunctionDeclaration &other): return_type(other.return_type), name(other.name), parameters(other.parameters), + virtua(other.virtua), + overrd(other.overrd), body(other.body), signature(other.signature), definition(other.definition==&other ? this : 0),