gl renderer: transform border outline like everything else

This commit is contained in:
Timm Bäder 2019-12-20 12:21:04 +01:00
parent 74f18f71d3
commit 0a8ca49b5e

View File

@ -813,14 +813,7 @@ render_border_node (GskGLRenderer *self,
sort_border_sides (colors, indices);
/* Prepare outline */
outline = *rounded_outline;
ops_transform_bounds_modelview (builder, &outline.bounds, &outline.bounds);
for (i = 0; i < 4; i ++)
{
outline.corner[i].width *= scale;
outline.corner[i].height *= scale;
}
outline = transform_rect (self, builder, rounded_outline);
ops_set_program (builder, &self->border_program);
ops_set_border_width (builder, widths);