X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fparser.cpp;h=ec6ce6eb5e28bb060050e25121196e3e262a8f4d;hp=7044a8c32f13452ca39df5f4a445cbaee5031ee6;hb=c0be4e4ae1a8b6ac31ff6b7080e2242c13d947ff;hpb=efeb3137935ec5ef6a16531c2e6b915caa3db481 diff --git a/source/glsl/parser.cpp b/source/glsl/parser.cpp index 7044a8c3..ec6ce6eb 100644 --- a/source/glsl/parser.cpp +++ b/source/glsl/parser.cpp @@ -62,7 +62,7 @@ void Parser::parse_source(const string &name, unsigned index) void Parser::set_required_version(const Version &ver) { - cur_stage->required_version = ver; + cur_stage->required_features.glsl_version = ver; } void Parser::source_reference(unsigned index, const string &name)