mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 10:20:53 +02:00
fix(ios): pin voxel render target scale
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ end
|
||||
local function getCanvas(res)
|
||||
if canvas == false then return nil end
|
||||
if canvas and canvasRes == res then return canvas end
|
||||
local ok, c = pcall(love.graphics.newCanvas, res, res)
|
||||
local ok, c = V.require("PixelCanvas").new(res, res)
|
||||
if not (ok and c) then
|
||||
canvas = false
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user