mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
from @oth_mars - fix borderless value lookup
This commit is contained in:
parent
410dfc9332
commit
ed200ce1ef
|
|
@ -434,7 +434,7 @@ function populateDisplaySettingsList()
|
|||
|
||||
if(%mode !$= "Borderless")
|
||||
{
|
||||
%resolutionList = getScreenResolutionList($pref::Video::deviceId, $pref::Video::deviceMode);
|
||||
%resolutionList = getScreenResolutionList($pref::Video::deviceId, $Video::Mode[%mode]);
|
||||
%resolution = OptionsMenu.getOptionVariableValue("$pref::Video::Resolution");
|
||||
if(%resolution $= "")
|
||||
%resolution = $pref::Video::mode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue