Merge pull request #1252 from BeamNG/fix_alt_enter

Fix bug on DefineConsoleMethod GuiCanvas::setVideoMode.
This commit is contained in:
Luis Anton Rebollo 2015-03-14 13:03:41 +01:00
commit 24307947ef

View file

@ -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)