mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Move video_driver default selection to runtime
This commit is contained in:
parent
67068cfaf4
commit
c26e122485
8 changed files with 41 additions and 27 deletions
|
@ -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 ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue