From 58e8dd1c0d64d8cd4b16cddd464ec77a139102ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 26 Jul 2019 16:27:39 +0200 Subject: [PATCH] gl renderer: Fix dx/dy handling on hidpi Fixes misplaced error squiggles in the node editor. --- gsk/gl/gskglrenderops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c index 862b4357af..d34f2c2405 100644 --- a/gsk/gl/gskglrenderops.c +++ b/gsk/gl/gskglrenderops.c @@ -435,7 +435,6 @@ void ops_push_modelview (RenderOpBuilder *builder, GskTransform *transform) { - float scale = ops_get_scale (builder); MatrixStackEntry *entry; if (G_UNLIKELY (builder->mv_stack == NULL)) @@ -455,7 +454,7 @@ ops_push_modelview (RenderOpBuilder *builder, /* Multiply given matrix with current modelview */ t = gsk_transform_translate (gsk_transform_ref (cur->transform), - &(graphene_point_t) { builder->dx * scale, builder->dy * scale}); + &(graphene_point_t) { builder->dx, builder->dy}); t = gsk_transform_transform (t, transform); entry->transform = t; }