aboutsummaryrefslogtreecommitdiffstats
path: root/fbtools.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbtools.c')
-rw-r--r--fbtools.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fbtools.c b/fbtools.c
index 5c644ff..ec66b67 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -215,21 +215,17 @@ static void fb_cleanup_display(void)
}
close(fb);
- console_restore_vt();
tcsetattr(STDIN_FILENO, TCSANOW, &term);
}
/* -------------------------------------------------------------------- */
-gfxstate* fb_init(const char *device, char *mode, int vt)
+gfxstate* fb_init(const char *device, char *mode)
{
unsigned long page_mask;
struct stat st;
gfxstate *gfx;
- if (vt != 0)
- console_set_vt(vt);
-
if (NULL == device) {
device = getenv("FRAMEBUFFER");
if (NULL == device) {