diff options
Diffstat (limited to 'tests/kms_chv_cursor_fail.c')
-rw-r--r-- | tests/kms_chv_cursor_fail.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/kms_chv_cursor_fail.c b/tests/kms_chv_cursor_fail.c index 3e74df11..1bcf8469 100644 --- a/tests/kms_chv_cursor_fail.c +++ b/tests/kms_chv_cursor_fail.c @@ -87,8 +87,7 @@ static void create_cursor_fb(data_t *data, int cur_w, int cur_h) else igt_paint_color_alpha(cr, 0, 0, data->fb.width, data->fb.height, 0.0, 0.0, 0.0, 0.0); - igt_assert(cairo_status(cr) == 0); - cairo_destroy(cr); + igt_put_cairo_ctx(data->drm_fd, &data->fb, cr); } static void cursor_move(data_t *data, int x, int y, int i) |