diff options
| author | sfan5 <sfan5@live.de> | 2023-03-05 15:55:00 +0100 |
|---|---|---|
| committer | sfan5 <sfan5@live.de> | 2023-04-08 20:19:35 +0200 |
| commit | c26e122485a7180edf434c0c1211713ff377d6d7 (patch) | |
| tree | 425e362522dcaaf66c75fc79be9f743919ab65b3 /builtin/mainmenu/tab_settings.lua | |
| parent | 67068cfaf43ef95e526401d9f788790516b9f8ed (diff) | |
| download | minetest-c26e122485a7180edf434c0c1211713ff377d6d7.tar.xz | |
Move video_driver default selection to runtime
Diffstat (limited to 'builtin/mainmenu/tab_settings.lua')
| -rw-r--r-- | builtin/mainmenu/tab_settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index ec2d7b1f5..404286acf 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -171,7 +171,7 @@ local function formspec(tabview, name, tabdata) .. getSettingIndex.Antialiasing() .. "]" .. "box[8,0;3.75,4.5;#999999]" - local video_driver = core.settings:get("video_driver") + local video_driver = core.get_active_driver() local shaders_enabled = core.settings:get_bool("enable_shaders") if video_driver == "opengl" then tab_string = tab_string .. |
