aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-03-05 15:55:00 +0100
committersfan5 <sfan5@live.de>2023-04-08 20:19:35 +0200
commitc26e122485a7180edf434c0c1211713ff377d6d7 (patch)
tree425e362522dcaaf66c75fc79be9f743919ab65b3 /doc
parent67068cfaf43ef95e526401d9f788790516b9f8ed (diff)
downloadminetest-c26e122485a7180edf434c0c1211713ff377d6d7.tar.xz
Move video_driver default selection to runtime
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index d65e9c83f..e4c5cd359 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -203,7 +203,10 @@ GUI
will be added to fieldname value is set to formname itself
* if `is_file_select` is `true`, a file and not a folder will be selected
* returns nil or selected file/folder
-* `core.get_active_renderer()`: Ex: "OpenGL 4.6".
+* `core.get_active_driver()`:
+ * technical name of active video driver, e.g. "opengl"
+* `core.get_active_renderer()`:
+ * name of current renderer, e.g. "OpenGL 4.6"
* `core.get_window_info()`: Same as server-side `get_player_window_information` API.
-- Note that none of these things are constant, they are likely to change