diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-24 08:22:11 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-24 08:22:11 +0100 |
commit | 50b6d744c9d1c0afc46b9ac34fce765f05020900 (patch) | |
tree | ed3cbe4ef1174ed0f436d0bf6dc1f9262a799e49 | |
parent | 6c153dc8de71f204cd03deaf4fb1bdbe2d3aa6a9 (diff) | |
download | fbida-50b6d744c9d1c0afc46b9ac34fce765f05020900.tar.gz |
zap fb_clear_screen
-rw-r--r-- | fb-gui.c | 9 | ||||
-rw-r--r-- | fb-gui.h | 2 | ||||
-rw-r--r-- | fbi.c | 1 | ||||
-rw-r--r-- | fbtools.c | 2 | ||||
-rw-r--r-- | fbtools.h | 1 |
5 files changed, 1 insertions, 14 deletions
@@ -559,12 +559,3 @@ FT_Face font_open(char *fcname) /* oops, didn't work */ return NULL; } - -/* ---------------------------------------------------------------------- */ -/* clear screen (areas) */ - -void fb_clear_screen(gfxstate *gfx) -{ - if (visible) - fb_memset(gfx->mem, 0, gfx->stride * gfx->vdisplay); -} @@ -28,5 +28,3 @@ void shadow_draw_text_box(FT_Face face, int x, int y, int percent, void font_init(void); FT_Face font_open(char *fcname); - -void fb_clear_screen(gfxstate *gfx); @@ -1401,7 +1401,6 @@ static void flist_img_load(struct flist *f, int prefetch) static void cleanup_and_exit(int code) { shadow_fini(); - fb_clear_screen(gfx); tty_restore(); gfx->cleanup_display(); flist_print_tagged(stdout); @@ -187,7 +187,7 @@ fb_switch_init() /* -------------------------------------------------------------------- */ /* initialisation & cleanup */ -void +static void fb_memset (void *addr, int c, size_t len) { #if 1 /* defined(__powerpc__) */ @@ -10,7 +10,6 @@ extern int fb_switch_state; /* init + cleanup */ gfxstate *fb_init(char *device, char *mode, int vt); -void fb_memset(void *addr, int c, size_t len); /* console switching */ int fb_switch_init(void); |