]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Fixes for handling extended alignment in GLSL
[libs/gl.git] / source / glsl / syntax.cpp
index 45765f27d88dbf0599e9de494a5ceea90dc64dd4..d74291bc2840edd89391f6ce04e4fc04275bf5b2 100644 (file)
@@ -224,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
 { }
@@ -247,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
 { }