summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-09-17 13:25:09 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-09-17 13:25:09 +0200
commit1a6a2518ee6485f37f3ac6479ca6e6098d964d80 (patch)
treed4e37e254369e49c5cae524b2f67c68c552263e3 /src
parent84c49078a6c65cf91b57224fe0f19ba6f852e0bb (diff)
downloadlibnsfb-1a6a2518ee6485f37f3ac6479ca6e6098d964d80.tar.gz
libnsfb-1a6a2518ee6485f37f3ac6479ca6e6098d964d80.tar.bz2
Fix pixels array for Kolibri surface
Diffstat (limited to 'src')
-rw-r--r--src/surface/kolibri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/surface/kolibri.c b/src/surface/kolibri.c
index 3d0fcc1..f39fc44 100644
--- a/src/surface/kolibri.c
+++ b/src/surface/kolibri.c
@@ -152,7 +152,7 @@ unsigned kolibri_scancodes(void)
void kolibri_redraw(nsfb_t *nsfb)
{
- f65_32bpp(0, 0, nsfb->width, nsfb->height, pixels + 1);
+ f65_32bpp(0, 0, nsfb->width, nsfb->height, pixels);
}
unsigned kolibri_skin_get_height(void)
@@ -181,7 +181,7 @@ void kolibri_fb_redraw(nsfb_t *nsfb)
debug_board_write_str("f65 is mighty with 32 bpp!\n");
/* Here put image pixels! it's 32bpp */
- f65_32bpp(0, 0, nsfb->width, nsfb->height, pixels + 1);
+ f65_32bpp(0, 0, nsfb->width, nsfb->height, pixels);
kolibri_window_redraw(2);
}