app/graphics/nxbe/nxbe_setsize.c: Fix backward source/destination in memcpy() in new per-window framebuffer logic.
This commit is contained in:
parent
42628d2209
commit
18d52ecee2
@ -407,7 +407,7 @@ void up_addregion(void)
|
||||
else
|
||||
{
|
||||
/* Use the entire SDRAM for heap (possible reserving a portion at
|
||||
* the beginning of DRAM.
|
||||
* the beginning of DRAM).
|
||||
*/
|
||||
|
||||
dram_start = LPC17_EXTDRAM_CS0 + CONFIG_LPC17_EXTDRAMHEAP_OFFSET;
|
||||
|
@ -216,6 +216,6 @@ void nxbe_fill(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
/* Rend the bitmap directly to the graphics device in any case */
|
||||
|
||||
nxbe_fill_dev(wnd, &remaining, color);
|
||||
nxbe_fill_dev(wnd, &remaining, color);
|
||||
}
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ static void nxbe_realloc(FAR struct nxbe_window_s *wnd,
|
||||
{
|
||||
/* Copy valid row data */
|
||||
|
||||
memcpy(src, dest, minstride);
|
||||
memcpy(dest, src, minstride);
|
||||
|
||||
/* Pad any extra pixel data on the right (with zeroes?) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user