mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 20:00:51 +02:00
10 lines
158 B
Lua
10 lines
158 B
Lua
local V = ...
|
|
|
|
local PixelCanvas = {}
|
|
|
|
function PixelCanvas.new(w, h)
|
|
return pcall(love.graphics.newCanvas, w, h, { dpiscale = 1 })
|
|
end
|
|
|
|
return PixelCanvas
|