mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Fixed a bogus call to cairo_destroy
This commit is contained in:
parent
6048e8d9f6
commit
990854d019
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ image_draw(struct image *image)
|
|||
rectangle.width,
|
||||
rectangle.height);
|
||||
|
||||
cairo_destroy(wsurface);
|
||||
cairo_surface_destroy(wsurface);
|
||||
cr = cairo_create(surface);
|
||||
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
|
||||
cairo_set_source_rgba(cr, 0, 0, 0, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue