diff options
author | Javier Jardón <jjardon@gnome.org> | 2014-10-25 20:23:16 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2014-11-10 15:12:17 +0000 |
commit | 710f3320827b437bbcf4292203439a16e5117813 (patch) | |
tree | 4985598b1d694f03776bf2fbc1503d2f01e8e9f5 /gdk/gdkgl.c | |
parent | 36fedb0c4b373272afc2d76a7c790d696ed48034 (diff) | |
download | gtk+-710f3320827b437bbcf4292203439a16e5117813.tar.gz |
configure.ac: Depend on cairo 1.14.0
This is needed for cairo_set_device_scale()
Diffstat (limited to 'gdk/gdkgl.c')
-rw-r--r-- | gdk/gdkgl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index 152941166f..3465508c57 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -596,9 +596,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr, (alpha_size == 0) ? CAIRO_FORMAT_RGB24 : CAIRO_FORMAT_ARGB32, width, height); -#ifdef HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE cairo_surface_set_device_scale (image, buffer_scale, buffer_scale); -#endif framebuffer = paint_data->tmp_framebuffer; glBindFramebufferEXT (GL_FRAMEBUFFER_EXT, framebuffer); @@ -677,9 +675,7 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface, window_height = gdk_window_get_height (window); sx = sy = 1; -#ifdef HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE cairo_surface_get_device_scale (window->current_paint.surface, &sx, &sy); -#endif cairo_surface_get_device_offset (surface, &device_x_offset, &device_y_offset); |