[gtk/wip/baedert/for-master: 44/44] gdkgl: Remove unused cairo_get_matrix() call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 44/44] gdkgl: Remove unused cairo_get_matrix() call
- Date: Mon, 28 Sep 2020 16:39:23 +0000 (UTC)
commit bd6a5a0e881ac55952ebc95a5adcbc8d1c6b04d2
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]