Bug 650426 - Missing call to cairo_surface_flush
app: before drawing directly on the surface.
This commit is contained in:
@ -366,6 +366,11 @@ gimp_display_shell_render_info_init (RenderInfo *info,
|
|||||||
info->w = w;
|
info->w = w;
|
||||||
info->h = h;
|
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 = cairo_image_surface_get_data (dest);
|
||||||
info->dest_bpl = cairo_image_surface_get_stride (dest);
|
info->dest_bpl = cairo_image_surface_get_stride (dest);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user