fix test.graphics.Canvas

This commit is contained in:
ell
2023-11-15 19:54:14 +00:00
parent 038b36a67d
commit 0ef417f60c
+2 -1
View File
@@ -91,7 +91,8 @@ love.test.graphics.Canvas = function(test)
-- check depth samples
local dcanvas = love.graphics.newCanvas(100, 100, {
type = '2d',
format = 'depth16'
format = 'depth16',
readable = true
})
test:assertEquals(nil, dcanvas:getDepthSampleMode(), 'check depth sample mode nil by def')
dcanvas:setDepthSampleMode('equal')