diff options
Diffstat (limited to 'tools/checkwps')
-rw-r--r-- | tools/checkwps/checkwps.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 596082a798..14a1f69c0d 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c | |||
@@ -231,24 +231,6 @@ void screen_clear_area(struct screen * display, int xstart, int ystart, | |||
231 | } | 231 | } |
232 | #endif | 232 | #endif |
233 | 233 | ||
234 | /* reimplement some simple stuff from viewport.c which doesnt change the skins | ||
235 | validity even if the values are not correct */ | ||
236 | void viewport_set_fullscreen(struct viewport *vp, | ||
237 | const enum screen_type screen) | ||
238 | { | ||
239 | vp->x = 0; | ||
240 | vp->y = 0; | ||
241 | vp->width = screens[screen].lcdwidth; | ||
242 | vp->height = screens[screen].lcdheight; | ||
243 | } | ||
244 | |||
245 | void viewport_set_defaults(struct viewport *vp, | ||
246 | const enum screen_type screen) | ||
247 | { | ||
248 | viewport_set_fullscreen(vp, screen); | ||
249 | } | ||
250 | |||
251 | |||
252 | int main(int argc, char **argv) | 234 | int main(int argc, char **argv) |
253 | { | 235 | { |
254 | int res; | 236 | int res; |