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;