Skip to content

Commit

Permalink
tests: fix a missing love.graphics.pop
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Apr 7, 2024
1 parent 2bc9777 commit e11ab50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/tests/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e11ab50

Please sign in to comment.