mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
from @oth_mars - fix borderless value lookup
This commit is contained in:
parent
410dfc9332
commit
ed200ce1ef
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ function populateDisplaySettingsList()
|
||||||
|
|
||||||
if(%mode !$= "Borderless")
|
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");
|
%resolution = OptionsMenu.getOptionVariableValue("$pref::Video::Resolution");
|
||||||
if(%resolution $= "")
|
if(%resolution $= "")
|
||||||
%resolution = $pref::Video::mode;
|
%resolution = $pref::Video::mode;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue