From 046cc497ad15222974201bef443109165973e3b9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 8 Oct 2018 19:52:01 -0400 Subject: Fix red rocklib_img 32-24 bit targets int is an incompatible type for targets that have 32bit fb_data need to use FB_SCALARPACK for them Change-Id: Ib3b5ff19c54d8d1bb76af33d0538a17a71301514 --- apps/plugins/lua/include_lua/draw.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/lua/include_lua/draw.lua') diff --git a/apps/plugins/lua/include_lua/draw.lua b/apps/plugins/lua/include_lua/draw.lua index 7b23933..7bf71f0 100644 --- a/apps/plugins/lua/include_lua/draw.lua +++ b/apps/plugins/lua/include_lua/draw.lua @@ -268,13 +268,13 @@ local _draw = {} do if targetclr == _get(img, x, y, true) then -- north qtail = qtail + 2 qpt[qtail - 1] = x - qpt[qtail] = y + qpt[qtail] = y end y = y + 2 if targetclr == _get(img, x, y, true) then -- south qtail = qtail + 2 qpt[qtail - 1] = x - qpt[qtail] = y + qpt[qtail] = y end return fillclr end -- cgit v1.1