tests: fix a missing love.graphics.pop

This commit is contained in:
Sasha Szpakowski
2024-04-07 15:14:59 -03:00
parent 2bc9777c3b
commit e11ab50965
+1
View File
@@ -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)