X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fparser.cpp;fp=source%2Fglsl%2Fparser.cpp;h=9e1f1913491cf98800352d25619557a3e120bfdc;hp=8f2160a626674675b1f63b76ce5dc992d92451ff;hb=d8bdf61007978e2c3670a22a58e2f105e8347537;hpb=d4b8a3f67c1f7184124bf95caee7e36ae8d6c82a diff --git a/source/glsl/parser.cpp b/source/glsl/parser.cpp index 8f2160a6..9e1f1913 100644 --- a/source/glsl/parser.cpp +++ b/source/glsl/parser.cpp @@ -792,7 +792,7 @@ RefPtr Parser::parse_interface_block() if(!is_interface_qualifier(iface->interface)) throw parse_error(tokenizer.get_location(), iface->interface, "an interface qualifier"); - iface->name = expect_identifier(); + iface->block_name = expect_identifier(); iface->members = new Block; parse_block(*iface->members, true, &Parser::parse_variable_declaration_with_layout); if(!check(";"))