summaryrefslogtreecommitdiffstats
path: root/tools/checkwps
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 15:23:52 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 15:25:07 -0400
commit04e7bacc4c971f7ed90e15a475312b2b69774cb4 (patch)
treecf455d8fe681e9b741a122bcedd63c05d0e80286 /tools/checkwps
parentada919fc1122c314b239212a40d15c5ab131becd (diff)
downloadrockbox-04e7bacc4c.tar.gz
rockbox-04e7bacc4c.tar.bz2
rockbox-04e7bacc4c.zip
FIX RED Framebuffer_viewport_rewrite
Change-Id: I716929fbee48bef68d7383efb944f9d491fdfe4d
Diffstat (limited to 'tools/checkwps')
-rw-r--r--tools/checkwps/checkwps.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 80b975e479..a0e0e15962 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -144,6 +144,11 @@ void* plugin_get_buffer(size_t *buffer_size)
return pluginbuf;
}
+static struct viewport* init_viewport(struct viewport* vp)
+{
+ return NULL;
+}
+
struct user_settings global_settings = {
.statusbar = STATUSBAR_TOP,
#ifdef HAVE_LCD_COLOR
@@ -179,6 +184,7 @@ struct screen screens[NB_SCREENS] =
#else
.is_color=false,
#endif
+ .init_viewport=init_viewport,
.getwidth = getwidth,
.getheight = getheight,
.getuifont = getuifont,
@@ -196,6 +202,7 @@ struct screen screens[NB_SCREENS] =
.depth=LCD_REMOTE_DEPTH,
.getuifont = getuifont,
.is_color=false,/* No color remotes yet */
+ .init_viewport=init_viewport,
.getwidth=remote_getwidth,
.getheight=remote_getheight,
#if LCD_REMOTE_DEPTH > 1