yaft: use the neutrino framebuffer functions to blit

* do not allocate a buffer but use the backbuffer of the neutrino fb
* use blit2FB to copy the terminal window onto the screen
This commit is contained in:
Stefan Seyfried
2018-01-03 21:40:11 +01:00
committed by Thilo Graf
parent 3d853ee5c9
commit 911ac9d0a8
3 changed files with 24 additions and 27 deletions

View File

@@ -193,14 +193,12 @@ int YaFT::run(void)
/* normal exit */
term_die(&term);
fb_die(&fb);
return EXIT_SUCCESS;
/* error exit */
tty_init_failed:
term_die(&term);
term_init_failed:
fb_die(&fb);
fb_init_failed:
return EXIT_FAILURE;
}