Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoavideo.m @ 1959:25d6537feea4
Implemented Cocoa key event handling.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 30 Jul 2006 05:18:33 +0000 |
parents | 420716272158 |
children | 4baee598306d |
line wrap: on
line diff
--- 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;