X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.cpp;h=d74291bc2840edd89391f6ce04e4fc04275bf5b2;hb=4ecc965177df174ed2d26cfedf24665c8879acda;hp=2ab4d1b61a197b3ccee9ea849d60c990e8b2427b;hpb=efbce87192ce73ba577684369f759693dccec67c;p=libs%2Fgl.git diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index 2ab4d1b6..d74291bc 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -78,8 +78,7 @@ NodeContainer::NodeContainer(const NodeContainer &c): Block::Block(const Block &other): Node(other), body(other.body), - use_braces(other.use_braces), - parent(0) + use_braces(other.use_braces) { } void Block::visit(NodeVisitor &visitor) @@ -225,6 +224,7 @@ BasicTypeDeclaration::BasicTypeDeclaration(const BasicTypeDeclaration &other): kind(other.kind), size(other.size), sign(other.sign), + extended_alignment(other.extended_alignment), base(other.base) // Do not copy base type { } @@ -248,7 +248,8 @@ StructDeclaration::StructDeclaration() StructDeclaration::StructDeclaration(const StructDeclaration &other): TypeDeclaration(other), - members(other.members) + members(other.members), + extended_alignment(other.extended_alignment) // Do not copy interface block { }