Camilla Berglund 13 anos atrás
pai
commit
ae586e65d8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/cocoa_fullscreen.m

+ 1 - 1
src/cocoa_fullscreen.m

@@ -215,7 +215,7 @@ GLFWvidmode* _glfwPlatformGetVideoModes(int* found)
         mode = (CGDisplayModeRef) CFArrayGetValueAtIndex(modes, i);
         mode = (CGDisplayModeRef) CFArrayGetValueAtIndex(modes, i);
         if (modeIsGood(mode))
         if (modeIsGood(mode))
         {
         {
-            result[*found] vidmodeFromCGDisplayMode(mode);
+            result[*found] = vidmodeFromCGDisplayMode(mode);
             (*found)++;
             (*found)++;
         }
         }
     }
     }