[gtk/wip/baedert/for-master: 43/53] gdkgl: Remove unused cairo_get_matrix() call




commit afe762fd12df60c0eb525de92902882037af843a
Author: Timm Bäder <mail baedert org>
Date:   Mon Sep 28 18:39:01 2020 +0200

    gdkgl: Remove unused cairo_get_matrix() call

 gdk/gdkgl.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index 7ae8decfed..7ac9f2b320 100644
--- a/gdk/gdkgl.c
+++ b/gdk/gdkgl.c
@@ -328,7 +328,6 @@ gdk_cairo_draw_from_gl (cairo_t              *cr,
 {
   GdkGLContext *paint_context;
   cairo_surface_t *image;
-  cairo_matrix_t matrix;
   guint framebuffer;
   int alpha_size = 0;
   cairo_region_t *clip_region;
@@ -372,8 +371,6 @@ gdk_cairo_draw_from_gl (cairo_t              *cr,
       return;
     }
 
-  cairo_get_matrix (cr, &matrix);
-
   gdk_gl_context_get_version (paint_context, &major, &minor);
   version = major * 100 + minor;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]