mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
add tests for no depth or stencil in the window.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user