From: Mikko Rasa Date: Mon, 8 Nov 2021 13:49:29 +0000 (+0200) Subject: Copy layout of InterfaceBlock X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=30904c6b6e7d885d9ade818328a2137c204e7efe Copy layout of InterfaceBlock --- diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index ccdb7197..1489eb9e 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -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),