Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dynamic shadow dropdown on OGLES2 #12637

Merged
merged 7 commits into from
Aug 4, 2022
Merged
Prev Previous commit
Next Next commit
Explicitly set dynamic shadow setting to false
  • Loading branch information
rollerozxa committed Aug 2, 2022
commit a3abe6b2159efaae6188ac7c4e2a5787ac9d8ad2
2 changes: 2 additions & 0 deletions builtin/mainmenu/tab_settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ local function formspec(tabview, name, tabdata)
"label[8.25,3.2;" .. fgettext("(game support required)") .. "]" ..
"dropdown[8.25,3.7;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";"
.. getSettingIndex.ShadowMapping() .. "]"
else
core.settings:set("enable_dynamic_shadows", false)
end
else
tab_string = tab_string ..
Expand Down