diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 15:23:52 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 15:25:07 -0400 |
commit | 04e7bacc4c971f7ed90e15a475312b2b69774cb4 (patch) | |
tree | cf455d8fe681e9b741a122bcedd63c05d0e80286 /tools/checkwps/checkwps.c | |
parent | ada919fc1122c314b239212a40d15c5ab131becd (diff) | |
download | rockbox-04e7bacc4c971f7ed90e15a475312b2b69774cb4.tar.gz rockbox-04e7bacc4c971f7ed90e15a475312b2b69774cb4.zip |
FIX RED Framebuffer_viewport_rewrite
Change-Id: I716929fbee48bef68d7383efb944f9d491fdfe4d
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r-- | tools/checkwps/checkwps.c | 7 |
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) | |||
144 | return pluginbuf; | 144 | return pluginbuf; |
145 | } | 145 | } |
146 | 146 | ||
147 | static struct viewport* init_viewport(struct viewport* vp) | ||
148 | { | ||
149 | return NULL; | ||
150 | } | ||
151 | |||
147 | struct user_settings global_settings = { | 152 | struct user_settings global_settings = { |
148 | .statusbar = STATUSBAR_TOP, | 153 | .statusbar = STATUSBAR_TOP, |
149 | #ifdef HAVE_LCD_COLOR | 154 | #ifdef HAVE_LCD_COLOR |
@@ -179,6 +184,7 @@ struct screen screens[NB_SCREENS] = | |||
179 | #else | 184 | #else |
180 | .is_color=false, | 185 | .is_color=false, |
181 | #endif | 186 | #endif |
187 | .init_viewport=init_viewport, | ||
182 | .getwidth = getwidth, | 188 | .getwidth = getwidth, |
183 | .getheight = getheight, | 189 | .getheight = getheight, |
184 | .getuifont = getuifont, | 190 | .getuifont = getuifont, |
@@ -196,6 +202,7 @@ struct screen screens[NB_SCREENS] = | |||
196 | .depth=LCD_REMOTE_DEPTH, | 202 | .depth=LCD_REMOTE_DEPTH, |
197 | .getuifont = getuifont, | 203 | .getuifont = getuifont, |
198 | .is_color=false,/* No color remotes yet */ | 204 | .is_color=false,/* No color remotes yet */ |
205 | .init_viewport=init_viewport, | ||
199 | .getwidth=remote_getwidth, | 206 | .getwidth=remote_getwidth, |
200 | .getheight=remote_getheight, | 207 | .getheight=remote_getheight, |
201 | #if LCD_REMOTE_DEPTH > 1 | 208 | #if LCD_REMOTE_DEPTH > 1 |