1.1 --- a/src/drivers/video_osx.c Sun Jun 22 06:49:00 2008 +0000
1.2 +++ b/src/drivers/video_osx.c Mon Jul 21 01:01:39 2008 +0000
1.10 - (BOOL)acceptsFirstResponder
1.20 //--------------------------------------------------------------------
1.21 - (void)drawRect: (NSRect) rect
1.23 CGAssociateMouseAndMouseCursorPosition(YES);
1.24 [((LxdreamMainWindow *)[self window]) setIsGrabbed: NO];
1.28 if( flagsMask[keycode] == 0 ) {
1.29 input_event_keydown( NULL, keycode+1, 1 );
1.30 flagsMask[keycode] = 1;
1.31 @@ -206,14 +206,14 @@
1.33 static gboolean video_osx_init()
1.35 - if( video_view == NULL ) {
1.38 - if( !video_nsgl_init_driver(video_view, &display_osx_driver) ) {
1.41 - pvr2_setup_gl_context();
1.43 + if( video_view == NULL ) {
1.46 + if( !video_nsgl_init_driver(video_view, &display_osx_driver) ) {
1.49 + pvr2_setup_gl_context();
1.53 static void video_osx_shutdown()