Skip to content

Commit

Permalink
Drop Wayland support by default
Browse files Browse the repository at this point in the history
  • Loading branch information
quyykk committed Aug 31, 2023
1 parent e0b176d commit 5e6d05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ int main(int argc, char *argv[])
Preferences::Load();

#ifdef __linux__
// Prefer wayland if it is available.
SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
// TODO: Prefer wayland if it is available.
//SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
#endif

if(!GameWindow::Init([](SDL_Window *window, const SDL_GLContext &context)
Expand Down

0 comments on commit 5e6d05a

Please sign in to comment.