소스 검색

Fix bug on DefineConsoleMethod GuiCanvas::setVideoMode.

LuisAntonRebollo 10 년 전
부모
커밋
17f08e9f86
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/gui/core/guiCanvas.cpp

+ 1 - 1
Engine/source/gui/core/guiCanvas.cpp

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