From a29b8fbef47e099558871b21b55fc99985515241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 14 Dec 2019 14:33:38 +0100 Subject: [PATCH] gl renderer: Shorten debug output impl This will leak a string but WHATEVER. --- gsk/gl/gskglrenderer.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index 1d1e3b93e3..1713c5e757 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -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); }