From e11ab50965ab5c231058f541519606cc485a140a Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sun, 7 Apr 2024 15:14:59 -0300 Subject: [PATCH] tests: fix a missing love.graphics.pop --- testing/tests/graphics.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/tests/graphics.lua b/testing/tests/graphics.lua index d33913b1c..af93042a8 100644 --- a/testing/tests/graphics.lua +++ b/testing/tests/graphics.lua @@ -2489,6 +2489,7 @@ love.test.graphics.push = function(test) love.graphics.setColor(1, 0, 0, 1) love.graphics.rectangle('fill', 0, 0, 1, 1) love.graphics.setColor(1, 1, 1, 1) + love.graphics.pop() love.graphics.setCanvas() local imgdata = love.graphics.readbackTexture(canvas) test:compareImg(imgdata)