Skip to content
Snippets Groups Projects
Commit 04efb20c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't require caller to call textmode() before showing window

Fixes recent regression with scfg
parent c2291604
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4488 passed
...@@ -1249,10 +1249,7 @@ static int video_init() ...@@ -1249,10 +1249,7 @@ static int video_init()
if(init_window()) if(init_window())
return(-1); return(-1);
bitmap_drv_init(x11_drawrect, x11_flush); bitmap_drv_init(x11_drawrect, x11_flush);
pthread_mutex_lock(&vstatlock); init_mode_internal(ciolib_initial_mode);
bitmap_drv_init_mode(vstat.mode, NULL, NULL, 0, 0);
x_cvstat = vstat;
pthread_mutex_unlock(&vstatlock);
return(0); return(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment