mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
gl: Set is_clear flag to FALSE after map_to_image
In _cairo_gl_surface_map_to_image(), the image surface data has been filled by glReadPixels, so is_clear flag should be set to FALSE. Otherwise mapped image surface does not get drawn as it is presumed clear and so returns true from nothing_to_do().
This commit is contained in:
parent
70c2125e2c
commit
ac2668dd08
1 changed files with 1 additions and 0 deletions
|
|
@ -1121,6 +1121,7 @@ _cairo_gl_surface_map_to_image (void *abstract_surface,
|
|||
free(row);
|
||||
}
|
||||
|
||||
image->base.is_clear = FALSE;
|
||||
return image;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue