mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
Remove printf from backend
This commit is contained in:
@@ -184,8 +184,6 @@ Backend.print = function (text, x, y)
|
|||||||
sdl.renderCopy(renderer, texture, nil, sdl.Rect(x, y, surface.w, surface.h))
|
sdl.renderCopy(renderer, texture, nil, sdl.Rect(x, y, surface.w, surface.h))
|
||||||
end
|
end
|
||||||
|
|
||||||
Backend.printf = Backend.print
|
|
||||||
|
|
||||||
Backend.getClipboardText = function ()
|
Backend.getClipboardText = function ()
|
||||||
return ffi.string(sdl.getClipboardText())
|
return ffi.string(sdl.getClipboardText())
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ Backend.drawRectangle = love.graphics.rectangle
|
|||||||
|
|
||||||
Backend.print = love.graphics.print
|
Backend.print = love.graphics.print
|
||||||
|
|
||||||
Backend.printf = love.graphics.printf
|
|
||||||
|
|
||||||
Backend.getClipboardText = love.system.getClipboardText
|
Backend.getClipboardText = love.system.getClipboardText
|
||||||
|
|
||||||
Backend.setClipboardText = love.system.setClipboardText
|
Backend.setClipboardText = love.system.setClipboardText
|
||||||
|
|||||||
Reference in New Issue
Block a user