aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-18 13:14:25 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-18 13:24:25 -0500
commit976d0b2caa3f69c0b7c40e98517073e08e87774d (patch)
tree8af2e586e32eed924e42e8d5aab6a33737fc6a18 /doc
parent44e4f5ab6e20689f7106b957de62a1d7737cb28f (diff)
downloadminetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.tar.gz
minetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.tar.bz2
minetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.zip
Reorganize supported video driver query mechanisms
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 45db89fb0..5c0f90df6 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -90,7 +90,9 @@ core.sound_play(spec, looped) -> handle
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" }
+^ returns list of available video drivers' settings name and 'friendly' display name
+^ e.g. { {name="opengl", friendly_name="OpenGL"}, {name="software", friendly_name="Software Renderer"} }
+^ first element of returned list is guaranteed to be the NULL driver
Formspec:
core.update_formspec(formspec)