]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Add support for uint types in GLSL
[libs/gl.git] / source / glsl / syntax.cpp
index 947b310ef5e528e026dd53dcbd642de96f4923b3..4526bf2bd986075f6bfe50e50dae1eabf2ebd204 100644 (file)
@@ -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)
 { }