Commit af06963d authored by Tapani Pälli's avatar Tapani Pälli Committed by Kristian H. Kristensen
Browse files

glsl: use empty brace initializer

fixes following warning with clang:
   warning: suggest braces around initialization of subobject
Signed-off-by: Tapani Pälli's avatarTapani Pälli <>
Reviewed-by: Caio Marcelo de Oliveira Filho's avatarCaio Marcelo de Oliveira Filho <>
Reviewed-by: Kristian H. Kristensen's avatarKristian H. Kristensen <>
parent 976004d0
......@@ -739,8 +739,8 @@ cross_validate_outputs_to_inputs(struct gl_context *ctx,
gl_linked_shader *consumer)
glsl_symbol_table parameters;
struct explicit_location_info output_explicit_locations[MAX_VARYING][4] = { 0 };
struct explicit_location_info input_explicit_locations[MAX_VARYING][4] = { 0 };
struct explicit_location_info output_explicit_locations[MAX_VARYING][4] = {};
struct explicit_location_info input_explicit_locations[MAX_VARYING][4] = {};
/* Find all shader outputs in the "producer" stage.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment