From 1f4ce1f4cba0ddfd3ca904b213c40640fed0313f Mon Sep 17 00:00:00 2001 From: Aire-One Date: Fri, 15 Oct 2021 18:25:04 +0200 Subject: [PATCH] fix: flush instead of finish Co-authored-by: Uli Schlachter Co-authored-by: ezz666 --- tests/test-screenshot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-screenshot.lua b/tests/test-screenshot.lua index 65af2775b..954a37d9f 100644 --- a/tests/test-screenshot.lua +++ b/tests/test-screenshot.lua @@ -94,7 +94,7 @@ local function copy_to_image_surface(content, w, h) cr:set_source_surface(sur) cr:paint() - img:finish() + img:flush() return img end