diff options
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
-rw-r--r-- | src/glsl/builtin_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index e2f69fa8767..7a64acc9e6d 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -831,7 +831,7 @@ builtin_variable_generator::generate_varyings() "gl_in"); ir_variable *var = add_variable("gl_in", array(per_vertex_type, 0), ir_var_shader_in, 0); - var->interface_type = per_vertex_type; + var->init_interface_type(per_vertex_type); } } |