mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43:48 +00:00
Fix bug on DefineConsoleMethod GuiCanvas::setVideoMode.
This commit is contained in:
parent
3c12325e97
commit
17f08e9f86
1 changed files with 1 additions and 1 deletions
|
|
@ -2723,7 +2723,7 @@ DefineConsoleMethod( GuiCanvas, setVideoMode, void,
|
|||
// aren't specified, just leave them at whatever they were set to.
|
||||
if (bitDepth > 0)
|
||||
{
|
||||
vm.bitDepth = refreshRate;
|
||||
vm.bitDepth = bitDepth;
|
||||
}
|
||||
|
||||
if (refreshRate > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue