From e2e98b4271094b42d95ccd5c750168a518cf71ad Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Sat, 25 Feb 2023 19:19:43 +0100 Subject: osd/sdl: Do not raise fatal error on -video auto -videodriver wayland. (#10924) --- src/osd/sdl/osdsdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/sdl/osdsdl.cpp b/src/osd/sdl/osdsdl.cpp index 070e0f338e0..fbd37240318 100644 --- a/src/osd/sdl/osdsdl.cpp +++ b/src/osd/sdl/osdsdl.cpp @@ -269,7 +269,7 @@ void sdl_osd_interface::init(running_machine &machine) } // bgfx does not work with wayland - if ((strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0) && ((strcmp(options().video(), "auto") == 0) || (strcmp(options().video(), "bgfx") == 0))) + if ((strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0) && (strcmp(options().video(), "bgfx") == 0)) fatalerror("Error: BGFX video does not work with wayland videodriver. Please change either of the options."); osd_sdl_info(); -- cgit v1.2.3