1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
William Wilgus 2018-10-08 19:52:01 -04:00
parent c0682e0944
commit 046cc497ad
5 changed files with 6 additions and 16 deletions

View file

@ -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