src/video/cocoa/SDL_cocoavideo.m
changeset 1959 25d6537feea4
parent 1952 420716272158
child 2268 4baee598306d
equal deleted inserted replaced
1958:5fc6fb0fb605 1959:25d6537feea4
    64         }
    64         }
    65         return NULL;
    65         return NULL;
    66     }
    66     }
    67     device->driverdata = data;
    67     device->driverdata = data;
    68 
    68 
       
    69     /* Find out what version of Mac OS X we're running */
       
    70     Gestalt(gestaltSystemVersion, &data->osversion);
       
    71 
    69     /* Set the function pointers */
    72     /* Set the function pointers */
    70     device->VideoInit = Cocoa_VideoInit;
    73     device->VideoInit = Cocoa_VideoInit;
    71     device->VideoQuit = Cocoa_VideoQuit;
    74     device->VideoQuit = Cocoa_VideoQuit;
    72     device->GetDisplayModes = Cocoa_GetDisplayModes;
    75     device->GetDisplayModes = Cocoa_GetDisplayModes;
    73     device->SetDisplayMode = Cocoa_SetDisplayMode;
    76     device->SetDisplayMode = Cocoa_SetDisplayMode;