mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Merge pull request #500 from Azaezel/alpha40/ScreenResFix
typofix in getScreenResolutionList
This commit is contained in:
commit
2c87c69dfc
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ function getScreenResolutionList(%deviceID, %deviceMode)
|
||||||
// For borderless on non-windows OS only add the usable area.
|
// For borderless on non-windows OS only add the usable area.
|
||||||
if ((%deviceMode == $Video::ModeBorderless) && ($platform !$= "windows"))
|
if ((%deviceMode == $Video::ModeBorderless) && ($platform !$= "windows"))
|
||||||
{
|
{
|
||||||
%borderlessRes = getWords(Canvas.getMonitorUsableRect(%newDeviceID), 2);
|
%borderlessRes = getWords(Canvas.getMonitorUsableRect(%deviceID), 2);
|
||||||
return _makePrettyResString(%borderlessRes);
|
return _makePrettyResString(%borderlessRes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue