summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/include_lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/include_lua')
-rw-r--r--apps/plugins/lua/include_lua/draw_poly.lua2
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 0354a5fdfd..dc2783898a 100644
--- a/apps/plugins/lua/include_lua/draw_poly.lua
+++ b/apps/plugins/lua/include_lua/draw_poly.lua
@@ -35,8 +35,10 @@ local _poly = {} do
local _NIL = nil -- nil placeholder
local _abs = math.abs
+ local _clear = rocklib_image.clear
local _copy = rocklib_image.copy
local _line = rocklib_image.line
+ local _newimg = rb.new_image
local flood_fill = require("draw_floodfill")
-- draws a non-filled figure based on points in t-points