mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
gdkgl: Remove unused cairo_get_matrix() call
This commit is contained in:
parent
4b8f3e9b92
commit
9f574a596f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user