diff options
Diffstat (limited to 'src/glsl/glsl_parser.yy')
-rw-r--r-- | src/glsl/glsl_parser.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 6aed25464b1..369da5034d6 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1655,7 +1655,7 @@ storage_qualifier: { STATIC_ASSERT(sizeof($$.flags.q) <= sizeof($$.flags.i)); memset(& $$, 0, sizeof($$)); - $$.flags.q._restrict = 1; + $$.flags.q.restrict_flag = 1; } | READONLY { |