summaryrefslogtreecommitdiff
path: root/gsk/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gsk/gl')
-rw-r--r--gsk/gl/gskglrenderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index ffd3a0f27b..eb3c77c72f 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -288,7 +288,7 @@ gsk_gl_renderer_render (GskRenderer *renderer,
g_assert (root != NULL);
surface = gdk_draw_context_get_surface (GDK_DRAW_CONTEXT (self->context));
- scale = gdk_surface_get_scale_factor (surface);
+ scale = gdk_surface_get_scale (surface);
viewport.origin.x = 0;
viewport.origin.y = 0;