diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu_lua_api.txt | 4 |
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) |