src/video/cocoa/SDL_cocoavideo.m
changeset 1959 25d6537feea4
parent 1952 420716272158
child 2268 4baee598306d
--- a/src/video/cocoa/SDL_cocoavideo.m	Sat Jul 29 23:00:15 2006 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.m	Sun Jul 30 05:18:33 2006 +0000
@@ -66,6 +66,9 @@
     }
     device->driverdata = data;
 
+    /* Find out what version of Mac OS X we're running */
+    Gestalt(gestaltSystemVersion, &data->osversion);
+
     /* Set the function pointers */
     device->VideoInit = Cocoa_VideoInit;
     device->VideoQuit = Cocoa_VideoQuit;