provide debug function to framebuffer ffi implementation

pull/1217/head
Hans-Werner Hilse 10 years ago
parent 75694b6c3b
commit 57a27f8f24

@ -42,6 +42,8 @@ function Device:init()
if not self.screen then
error("screen/framebuffer must be implemented")
end
self.screen.debug = DEBUG
if not self.input then
self.input = require("device/input"):new{device = self}
end

Loading…
Cancel
Save