summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/include_lua/draw.lua
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-10-08 19:52:01 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2018-10-08 19:59:50 -0400
commit046cc497ad15222974201bef443109165973e3b9 (patch)
treee3d505e01b63727fe77480db8ca8e7cf176eb3c0 /apps/plugins/lua/include_lua/draw.lua
parentc0682e094414d0748456d0b01000727039ff701c (diff)
downloadrockbox-046cc497ad15222974201bef443109165973e3b9.tar.gz
rockbox-046cc497ad15222974201bef443109165973e3b9.zip
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
Diffstat (limited to 'apps/plugins/lua/include_lua/draw.lua')
-rw-r--r--apps/plugins/lua/include_lua/draw.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/include_lua/draw.lua b/apps/plugins/lua/include_lua/draw.lua
index 7b239339ff..7bf71f0a6b 100644
--- a/apps/plugins/lua/include_lua/draw.lua
+++ b/apps/plugins/lua/include_lua/draw.lua
@@ -268,13 +268,13 @@ local _draw = {} do
268 if targetclr == _get(img, x, y, true) then -- north 268 if targetclr == _get(img, x, y, true) then -- north
269 qtail = qtail + 2 269 qtail = qtail + 2
270 qpt[qtail - 1] = x 270 qpt[qtail - 1] = x
271 qpt[qtail] = y 271 qpt[qtail] = y
272 end 272 end
273 y = y + 2 273 y = y + 2
274 if targetclr == _get(img, x, y, true) then -- south 274 if targetclr == _get(img, x, y, true) then -- south
275 qtail = qtail + 2 275 qtail = qtail + 2
276 qpt[qtail - 1] = x 276 qpt[qtail - 1] = x
277 qpt[qtail] = y 277 qpt[qtail] = y
278 end 278 end
279 return fillclr 279 return fillclr
280 end 280 end