diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-31 10:49:31 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-31 10:49:31 +0100 |
commit | 620c38f6f45a8708d9dd82f638beb06789b6c7d1 (patch) | |
tree | 79629772daacf0be6a40fd562d564bde8231ae7b /fbtools.c | |
parent | 7fcf29ed3f77f60873bad160d5afac498746d6d8 (diff) | |
download | fbida-620c38f6f45a8708d9dd82f638beb06789b6c7d1.tar.gz |
drop -vt option
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) { |