mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
app/graphics/nxbe/nxbe_setsize.c: Fix backward source/destination in memcpy() in new per-window framebuffer logic.
This commit is contained in:
@@ -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?) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user