gl renderer: Shorten debug output impl

This will leak a string but WHATEVER.
This commit is contained in:
Timm Bäder 2019-12-14 14:33:38 +01:00
parent 5b072e716c
commit a29b8fbef4

View File

@ -2521,17 +2521,7 @@ static inline void
apply_clip_op (const Program *program,
const OpClip *op)
{
OP_PRINT (" -> Clip (%f, %f, %f, %f) (%f, %f, %f, %f), (%f, %f, %f, %f)",
op->clip.bounds.origin.x, op->clip.bounds.origin.y,
op->clip.bounds.size.width, op->clip.bounds.size.height,
op->clip.corner[0].width,
op->clip.corner[1].width,
op->clip.corner[2].width,
op->clip.corner[3].width,
op->clip.corner[0].height,
op->clip.corner[1].height,
op->clip.corner[2].height,
op->clip.corner[3].height);
OP_PRINT (" -> Clip: %s", gsk_rounded_rect_to_string (&op->clip));
glUniform4fv (program->clip_rect_bounds_location, 1, (float *)&op->clip.bounds);
glUniform2fv (program->clip_rect_corners_location, 4, (float *)&op->clip.corner);
}