From 16fb7cefb405527f4f18a984610de9f9ce55c712 Mon Sep 17 00:00:00 2001 From: Deve Date: Mon, 28 Jan 2019 22:46:35 +0100 Subject: [PATCH] Document some environment variables --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 8f797317a..3bb7225ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -684,6 +684,14 @@ void cmdLineHelp() " --apitrace This will disable buffer storage and\n" " writing gpu query strings to opengl, which\n" " can be seen later in apitrace.\n" +#if defined(__linux__) || defined(__FreeBSD__) + "\n" + "Environment variables:\n" + " IRR_DEVICE_TYPE=[x11, wayland] Force x11/wayland device\n" + " IRR_DISABLE_NETWM=1 Force to use legacy fullscreen\n" + " IRR_VIDEO_OUTPUT=output_name Force to use selected monitor for\n" + " fullscreen window, eg. HDMI-0\n" +#endif "\n" "You can visit SuperTuxKart's homepage at " "https://supertuxkart.net\n\n",