add tests for no depth or stencil in the window.

This commit is contained in:
Sasha Szpakowski
2024-09-28 18:23:40 -03:00
parent a16db4fb72
commit 61e58bb361
+10
View File
@@ -358,4 +358,14 @@ love.test.window.updateMode = function(test)
fullscreen = false,
resizable = true
})
-- test different combinations of the backbuffer depth/stencil buffer.
test:waitFrames(1)
love.window.updateMode(360, 240, {depth = false, stencil = false})
test:waitFrames(1)
love.window.updateMode(360, 240, {depth = true, stencil = true})
test:waitFrames(1)
love.window.updateMode(360, 240, {depth = true, stencil = false})
test:waitFrames(1)
love.window.updateMode(360, 240, {depth = false, stencil = true})
end