gdkgl: Remove unused cairo_get_matrix() call

This commit is contained in:
Timm Bäder 2020-09-28 18:39:01 +02:00 committed by Matthias Clasen
parent 4b8f3e9b92
commit 9f574a596f

View File

@ -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;