gl: fix linear gradients

The opbuffer conversion introduced this bug.
This commit is contained in:
Matthias Clasen
2019-10-11 14:44:27 -04:00
parent 675cbcc1e7
commit f6a36fe834

View File

@@ -1087,10 +1087,10 @@ render_linear_gradient_node (GskGLRenderer *self,
}
op->n_color_stops = n_color_stops;
op->start_point.x += start->x + builder->dx;
op->start_point.y += start->y + builder->dy;
op->end_point.x += end->x + builder->dx;
op->end_point.y += end->y + builder->dy;
op->start_point.x = start->x + builder->dx;
op->start_point.y = start->y + builder->dy;
op->end_point.x = end->x + builder->dx;
op->end_point.y = end->y + builder->dy;
ops_draw (builder, vertex_data);
}