From fffb835358e31a9a838a7b28ebd35b8aa7f595eb Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sat, 6 Jan 2024 15:36:50 -0400 Subject: [PATCH] tests: fix love.graphics.setDepthMode test --- testing/conf.lua | 2 ++ testing/main.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/conf.lua b/testing/conf.lua index e6f579550..787650a49 100644 --- a/testing/conf.lua +++ b/testing/conf.lua @@ -4,5 +4,7 @@ function love.conf(t) t.window.width = 360 t.window.height = 240 t.window.resizable = true + t.window.depth = true + t.window.stencil = true t.renderers = {"opengl"} end diff --git a/testing/main.lua b/testing/main.lua index c5f74677e..6c7b26165 100644 --- a/testing/main.lua +++ b/testing/main.lua @@ -36,7 +36,7 @@ love.load = function(args) -- setup basic img to display if love.window ~= nil then - love.window.setMode(360, 240, { + love.window.updateMode(360, 240, { fullscreen = false, resizable = true, centered = true