diff options
| author | William Wilgus <me.theuser@yahoo.com> | 2018-10-08 19:52:01 -0400 |
|---|---|---|
| committer | William Wilgus <me.theuser@yahoo.com> | 2018-10-08 19:59:50 -0400 |
| commit | 046cc497ad15222974201bef443109165973e3b9 (patch) | |
| tree | e3d505e01b63727fe77480db8ca8e7cf176eb3c0 /apps/plugins/lua/include_lua/draw.lua | |
| parent | c0682e094414d0748456d0b01000727039ff701c (diff) | |
| download | rockbox-046cc497ad15222974201bef443109165973e3b9.zip rockbox-046cc497ad15222974201bef443109165973e3b9.tar.gz rockbox-046cc497ad15222974201bef443109165973e3b9.tar.bz2 rockbox-046cc497ad15222974201bef443109165973e3b9.tar.xz | |
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.lua | 4 |
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 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 |