aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-07-16 14:04:50 +0200
committersapier <Sapier at GMX dot net>2014-08-23 01:55:54 +0200
commit996ea60642c5d78fc915573af0641d78bc7e2d49 (patch)
tree9af38da13cd94dbfff1f683e4a4314c0b74ac76f /doc
parent26f4a5c1109f99fed6d7941b870a94fa49642181 (diff)
downloadminetest-996ea60642c5d78fc915573af0641d78bc7e2d49.tar.gz
minetest-996ea60642c5d78fc915573af0641d78bc7e2d49.tar.bz2
minetest-996ea60642c5d78fc915573af0641d78bc7e2d49.zip
Add video driver selection to settings menu (based uppon idea from webdesigner97)
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 13ef45de0..20549d892 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -88,6 +88,9 @@ core.sound_play(spec, looped) -> handle
^ spec = SimpleSoundSpec (see lua-api.txt)
^ looped = bool
core.sound_stop(handle)
+core.get_video_drivers()
+^ get list of video drivers supported by engine (not all modes are guaranteed to work)
+^ returns list of available video drivers e.g. { "OpenGL", "Software" }
Formspec:
core.update_formspec(formspec)