diff options
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r-- | src/glsl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index 3260c44710f..736689eb75c 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -276,7 +276,7 @@ void compile_shader(struct gl_context *ctx, struct gl_shader *shader) { struct _mesa_glsl_parse_state *state = - new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader); + new(shader) _mesa_glsl_parse_state(ctx, shader->Stage, shader); _mesa_glsl_compile_shader(ctx, shader, dump_ast, dump_hir); |