]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Copy layout of InterfaceBlock
[libs/gl.git] / source / glsl / syntax.cpp
index ccdb7197e570d7f786b65129b12e9196a884ccb4..1489eb9e2af7e04ec542deb1c740efa6d8fc4d7f 100644 (file)
@@ -294,6 +294,7 @@ void VariableDeclaration::visit(NodeVisitor &visitor)
 
 InterfaceBlock::InterfaceBlock(const InterfaceBlock &other):
        Statement(other),
+       layout(other.layout),
        interface(other.interface),
        block_name(other.block_name),
        members(other.members),