mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 08:01:09 +02:00
fix(ios): pin voxel render target scale
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
local V = ...
|
||||
|
||||
local PixelCanvas = {}
|
||||
|
||||
function PixelCanvas.new(w, h)
|
||||
return pcall(love.graphics.newCanvas, w, h, { dpiscale = 1 })
|
||||
end
|
||||
|
||||
return PixelCanvas
|
||||
Reference in New Issue
Block a user