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