Skip to content

Commit

Permalink
tests: wait 10 frames in between setFullscreen(true/false).
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 16, 2024
1 parent 79efc0c commit b03a8b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/tests/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ love.test.window.getFullscreen = function(test)
love.window.setFullscreen(true)
-- check now fullscreen
test:assertTrue(love.window.getFullscreen(), 'check now fullscreen')
test:waitFrames(10)
love.window.setFullscreen(false) -- reset
end

Expand Down

0 comments on commit b03a8b4

Please sign in to comment.