From 996ea60642c5d78fc915573af0641d78bc7e2d49 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 16 Jul 2014 14:04:50 +0200 Subject: Add video driver selection to settings menu (based uppon idea from webdesigner97) --- doc/menu_lua_api.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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) -- cgit v1.2.3