fix(ios): use decal shadows on Metal

This commit is contained in:
Adrian Castro
2026-08-01 14:37:22 +02:00
parent 1a69489305
commit acb2eadeb4
+3
View File
@@ -221,6 +221,9 @@ end
-- where the canvas cannot be made -- VoxelScene then keeps the flat decal
-- shadows, which need nothing but a quad.
function ShadowMap.available()
if love.system and love.system.getOS and love.system.getOS() == "iOS" then
return false
end
if not (love.graphics and love.graphics.newCanvas
and love.graphics.setDepthMode) then
return false