From 731613d70b91166be7728f7447e1d43666b386ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 21 Jul 2019 12:11:36 +0200 Subject: [PATCH] gl renderer: Remove leftover modelview matrix We use a GskTransform there nowadays. --- gsk/gl/gskglrenderer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index b3c5b924da..e77a9892cd 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -3196,7 +3196,7 @@ gsk_gl_renderer_do_render (GskRenderer *renderer, int scale_factor) { GskGLRenderer *self = GSK_GL_RENDERER (renderer); - graphene_matrix_t modelview, projection; + graphene_matrix_t projection; gsize buffer_size; #ifdef G_ENABLE_DEBUG GskProfiler *profiler; @@ -3216,7 +3216,6 @@ gsk_gl_renderer_do_render (GskRenderer *renderer, g_assert (gsk_gl_driver_in_frame (self->gl_driver)); /* Set up the modelview and projection matrices to fit our viewport */ - graphene_matrix_init_scale (&modelview, scale_factor, scale_factor, 1.0); graphene_matrix_init_ortho (&projection, viewport->origin.x, viewport->origin.x + viewport->size.width,