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:
parent
c0682e0944
commit
046cc497ad
5 changed files with 6 additions and 16 deletions
|
|
@ -132,16 +132,6 @@ local _lcd = {} do
|
||||||
end
|
end
|
||||||
|
|
||||||
--expose functions to the outside through _lcd table
|
--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.update = rb.lcd_update
|
||||||
_lcd.DEPTH = rb.LCD_DEPTH
|
_lcd.DEPTH = rb.LCD_DEPTH
|
||||||
_lcd.W = rb.LCD_WIDTH
|
_lcd.W = rb.LCD_WIDTH
|
||||||
|
|
|
||||||
|
|
@ -1152,7 +1152,7 @@ RLI_LUA rli_copy(lua_State *L)
|
||||||
{
|
{
|
||||||
rli_trans = custom_transform;
|
rli_trans = custom_transform;
|
||||||
lua_settop(L, 11); /* ensure lua function on top of stack */
|
lua_settop(L, 11); /* ensure lua function on top of stack */
|
||||||
clr = 0;
|
clr = FB_SCALARPACK(0);
|
||||||
op = 0;
|
op = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue