diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-08-04 10:35:07 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-08-04 17:54:03 +0200 |
commit | d1f349bf772a8374a9c264bcff974d3db7ce32b9 (patch) | |
tree | 591b6f0398a7d5530c827c780e55285582a1dbf7 /apps/plugins/lua/include_lua/draw_poly.lua | |
parent | 668eed3147d64c91ec923c22c47e94e8a51b5ff8 (diff) | |
download | rockbox-d1f349bf772a8374a9c264bcff974d3db7ce32b9.tar.gz rockbox-d1f349bf772a8374a9c264bcff974d3db7ce32b9.zip |
lua optimize print include, fix draw_poly
Change-Id: Ibb530cfa63681727be518173404952e897c9d297
Diffstat (limited to 'apps/plugins/lua/include_lua/draw_poly.lua')
-rw-r--r-- | apps/plugins/lua/include_lua/draw_poly.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/include_lua/draw_poly.lua b/apps/plugins/lua/include_lua/draw_poly.lua index fd76a582b1..0354a5fdfd 100644 --- a/apps/plugins/lua/include_lua/draw_poly.lua +++ b/apps/plugins/lua/include_lua/draw_poly.lua | |||
@@ -29,6 +29,8 @@ | |||
29 | if not rb.lcd_framebuffer then rb.splash(rb.HZ, "No Support!") return nil end | 29 | if not rb.lcd_framebuffer then rb.splash(rb.HZ, "No Support!") return nil end |
30 | 30 | ||
31 | local _poly = {} do | 31 | local _poly = {} do |
32 | -- Internal Constants | ||
33 | local rocklib_image = getmetatable(rb.lcd_framebuffer()) | ||
32 | local BSAND = 8 -- blits color to dst if src <> 0 | 34 | local BSAND = 8 -- blits color to dst if src <> 0 |
33 | local _NIL = nil -- nil placeholder | 35 | local _NIL = nil -- nil placeholder |
34 | 36 | ||