app/graphics/nxbe/nxbe_setsize.c: Fix backward source/destination in memcpy() in new per-window framebuffer logic.

This commit is contained in:
Gregory Nutt 2019-03-16 17:37:29 -06:00
parent 42628d2209
commit 18d52ecee2
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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);
}
}

View File

@ -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?) */