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:
parent
26f4a5c110
commit
996ea60642
5 changed files with 92 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue