1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Add video driver selection to settings menu (based uppon idea from webdesigner97)

This commit is contained in:
sapier 2014-07-16 14:04:50 +02:00
parent 26f4a5c110
commit 996ea60642
5 changed files with 92 additions and 27 deletions

View file

@ -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)