Skip to content

Commit

Permalink
Workaround for sdl2/kmsdrm until a proper fix is pushed to baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioginer committed Jun 10, 2022
1 parent 2e66055 commit 5fb89d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/sdl/sdlmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ void sdl_osd_interface::init(running_machine &machine)
#if defined(__linux__)
// bgfx does not work with wayland
osd_printf_verbose("Setting SDL videodriver '%s' ...\n", "x11");
osd_setenv(SDLENV_VIDEODRIVER, "x11", 1);
osd_setenv(SDLENV_VIDEODRIVER, "x11,kmsdrm", 1);
#endif
}
}
Expand Down

0 comments on commit 5fb89d9

Please sign in to comment.