Mac and Linux SDL2 binary snapshots
Edward Rudd
2021-06-15 dec7875a6e23212021e4d9080330a42832dfe02a
source/src/video/cocoa/SDL_cocoamodes.m
@@ -19,7 +19,6 @@
  3. This notice may not be removed or altered from any source distribution.
*/
#include "../../SDL_internal.h"
#include "SDL_assert.h"
#if SDL_VIDEO_DRIVER_COCOA
@@ -198,8 +197,9 @@
        int pixelH = (int) CGDisplayModeGetPixelHeight(vidmode);
        CFIndex modescount = CFArrayGetCount(modelist);
        int  i;
        for (int i = 0; i < modescount; i++) {
        for (i = 0; i < modescount; i++) {
            CGDisplayModeRef othermode = (CGDisplayModeRef) CFArrayGetValueAtIndex(modelist, i);
            uint32_t otherioflags = CGDisplayModeGetIOFlags(othermode);
@@ -389,7 +389,7 @@
            display.desktop_mode = mode;
            display.current_mode = mode;
            display.driverdata = displaydata;
            SDL_AddVideoDisplay(&display);
            SDL_AddVideoDisplay(&display, SDL_FALSE);
            SDL_free(display.name);
        }
    }