mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-17 06:31:14 +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);
|
assert(sdl_flags != 0);
|
||||||
|
|
||||||
#ifdef USE_SDL_VIDEO
|
#ifdef USE_SDL_VIDEO
|
||||||
#if REAL_ADDRESSING
|
#if REAL_ADDRESSING && !defined(__MACOSX__)
|
||||||
// Needed to fix a crash when using Wayland
|
// Needed to fix a crash when using Wayland
|
||||||
// Forces use of XWayland instead
|
// Forces use of XWayland instead
|
||||||
setenv("SDL_VIDEODRIVER", "x11", true);
|
setenv("SDL_VIDEODRIVER", "x11", true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user