diff options
-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); |