diff --git a/src/sdl_window.cpp b/src/sdl_window.cpp index 61fb3c044ff..12cfeab74b4 100644 --- a/src/sdl_window.cpp +++ b/src/sdl_window.cpp @@ -94,11 +94,6 @@ static Uint32 SDLCALL PollController(void* userdata, SDL_TimerID timer_id, Uint3 WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_, std::string_view window_title) : width{width_}, height{height_}, controller{controller_} { -#if defined(SDL_PLATFORM_LINUX) - if (getenv("WAYLAND_DISPLAY") && !SDL_SetHint(SDL_HINT_VIDEO_DRIVER, "wayland")) { - UNREACHABLE_MSG("Failed to set video driver hint to Wayland: {}", SDL_GetError()); - } -#endif if (!SDL_Init(SDL_INIT_VIDEO)) { UNREACHABLE_MSG("Failed to initialize SDL video subsystem: {}", SDL_GetError()); }