mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
fullscreen and windowed mode cli fix update
This commit is contained in:
parent
6d6055c873
commit
5239c2f183
2 changed files with 6 additions and 2 deletions
|
|
@ -32,8 +32,10 @@ function configureCanvas()
|
|||
if ($pref::Video::mode $= "")
|
||||
$pref::Video::mode = "800 600 false 32 60 0";
|
||||
|
||||
if($cliFullscreen !$="")
|
||||
if($cliFullscreen !$= "") {
|
||||
$pref::Video::mode = setWord($pref::Video::mode, $WORD::FULLSCREEN, $cliFullScreen);
|
||||
$cliFullscreen = "";
|
||||
}
|
||||
|
||||
%resX = getWord($pref::Video::mode, $WORD::RES_X);
|
||||
%resY = getWord($pref::Video::mode, $WORD::RES_Y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue