mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
fix for macOS
This commit is contained in:
parent
3f7896976a
commit
b3ebcd595c
@ -697,7 +697,7 @@ static bool init_sdl()
|
||||
assert(sdl_flags != 0);
|
||||
|
||||
#ifdef USE_SDL_VIDEO
|
||||
#if REAL_ADDRESSING
|
||||
#if REAL_ADDRESSING && !defined(__MACOSX__)
|
||||
// Needed to fix a crash when using Wayland
|
||||
// Forces use of XWayland instead
|
||||
setenv("SDL_VIDEODRIVER", "x11", true);
|
||||
|
Loading…
Reference in New Issue
Block a user