Support linux FB over VGA/Direct Video.

This commit is contained in:
sorgelig
2020-01-04 14:57:47 +08:00
parent 7d27132de9
commit 8f0c9bd8cc
4 changed files with 108 additions and 24 deletions

View File

@@ -5164,7 +5164,7 @@ void Info(const char *message, int timeout, int width, int height, int frame)
if (!user_io_osd_is_visible())
{
OSD_PrintInfo(message, &width, &height, frame);
InfoEnable(20, 10, width, height);
InfoEnable(20, (cfg.direct_video && get_vga_fb()) ? 30 : 10, width, height);
OsdSetSize(16);
menu_timer = GetTimer(timeout);