mirror of https://github.com/GNOME/gimp.git
Bug 650426 - Missing call to cairo_surface_flush
app: before drawing directly on the surface.
This commit is contained in:
parent
3e51484b18
commit
3efa2062c5
|
@ -366,6 +366,11 @@ gimp_display_shell_render_info_init (RenderInfo *info,
|
|||
info->w = w;
|
||||
info->h = h;
|
||||
|
||||
/* This function must be called before switching from drawing
|
||||
* on the surface with cairo to drawing on it directly
|
||||
*/
|
||||
cairo_surface_flush (dest);
|
||||
|
||||
info->dest = cairo_image_surface_get_data (dest);
|
||||
info->dest_bpl = cairo_image_surface_get_stride (dest);
|
||||
|
||||
|
|
Loading…
Reference in New Issue