mirror of
https://github.com/love2d/love.git
synced 2026-08-12 00:20:52 +02:00
fix test.graphics.Canvas
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user