X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.cpp;h=4526bf2bd986075f6bfe50e50dae1eabf2ebd204;hp=947b310ef5e528e026dd53dcbd642de96f4923b3;hb=91e65bc9e24a6889995081035f6f6f0a78a6c20e;hpb=2016444ee144ce41f88c48e89c825137ad7e4ec2 diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index 947b310e..4526bf2b 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -271,6 +271,7 @@ void InterfaceLayout::visit(NodeVisitor &visitor) BasicTypeDeclaration::BasicTypeDeclaration(): kind(ALIAS), size(0), + sign(true), base_type(0) { } @@ -278,6 +279,7 @@ BasicTypeDeclaration::BasicTypeDeclaration(const BasicTypeDeclaration &other): TypeDeclaration(other), kind(other.kind), size(other.size), + sign(other.sign), base(other.base), base_type(0) { }