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

Blacklist the "offscreen" driver as well.

Can prevent fall-through to curses from working.
parent 2826287b
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4211 passed
......@@ -294,7 +294,7 @@ int init_sdl_video(void)
#endif
if(sdl_video_initialized && (drivername = sdl.GetCurrentVideoDriver())!=NULL) {
/* Unacceptable drivers */
if((!strcmp(drivername, "caca")) || (!strcmp(drivername,"aalib")) || (!strcmp(drivername,"dummy"))) {
if((!strcmp(drivername, "offscreen")) || (!strcmp(drivername, "caca")) || (!strcmp(drivername,"aalib")) || (!strcmp(drivername,"dummy"))) {
sdl.Quit();
sdl_video_initialized=FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment