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

@ -132,16 +132,6 @@ local _lcd = {} do
end
--expose functions to the outside through _lcd table
--[[
_lcd.text_extent = text_extent
_lcd.set_viewport = set_viewport
_lcd.duplicate = duplicate
_lcd.update = _update
_lcd.update_rect = update_rect
_lcd.clear = clear
_lcd.splashf = splashf
_lcd.image = image
]]
_lcd.update = rb.lcd_update
_lcd.DEPTH = rb.LCD_DEPTH
_lcd.W = rb.LCD_WIDTH

View file

@ -1152,7 +1152,7 @@ RLI_LUA rli_copy(lua_State *L)
{
rli_trans = custom_transform;
lua_settop(L, 11); /* ensure lua function on top of stack */
clr = 0;
clr = FB_SCALARPACK(0);
op = 0;
}
else