forked from AuroraMiddleware/gtk
gl renderer: transform border outline like everything else
This commit is contained in:
parent
74f18f71d3
commit
0a8ca49b5e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user