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