diff options
Diffstat (limited to 'fbtools.c')
-rw-r--r-- | fbtools.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) { |