mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 09:32:30 -06:00
[SettingsFragmentPresenter.kt] set RESOLUTION_FACTOR preference with RESOLUTION_FACTOR setting instead of GRAPHICS_API
Currently, the RESOLUTION_FACTOR preference is being set with the GRAPHICS_API key and default. Therefore, it will set/retrieve the wrong values This revision updates the RESOLUTION_FACTOR preference to use the RESOLUTION_FACTOR key and default value. As a result, RESOLUTION_FACTOR and GRAPHICS_API should store and return the correct (separate) values
This commit is contained in:
parent
95ae46f6a8
commit
e8c20fa782
1 changed files with 2 additions and 2 deletions
|
@ -687,8 +687,8 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
||||||
1,
|
1,
|
||||||
10,
|
10,
|
||||||
"x",
|
"x",
|
||||||
IntSetting.GRAPHICS_API.key,
|
IntSetting.RESOLUTION_FACTOR.key,
|
||||||
IntSetting.GRAPHICS_API.defaultValue.toFloat()
|
IntSetting.RESOLUTION_FACTOR.defaultValue.toFloat()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
add(
|
add(
|
||||||
|
|
Loading…
Reference in a new issue