src/video/quartz/SDL_QuartzWM.m
changeset 983 7f08bd66f1ca
parent 952 6f5c8bd997aa
child 1192 54aa9aa32327
equal deleted inserted replaced
982:7207057447f5 983:7f08bd66f1ca
   152     }
   152     }
   153     else {
   153     else {
   154 
   154 
   155         *p = [ window_view convertPoint:*p fromView: nil ];
   155         *p = [ window_view convertPoint:*p fromView: nil ];
   156         
   156         
   157         /* If OSX version is 10.3.0 or later, we need a workaround in OpenGL mode */
   157         /* We need a workaround in OpenGL mode */
   158         if ( system_version >= 0x1030 && (SDL_VideoSurface->flags & SDL_OPENGL) ) {
   158         if ( SDL_VideoSurface->flags & SDL_OPENGL ) {
   159             p->y = [window_view frame].size.height - p->y - 1;
   159             p->y = [window_view frame].size.height - p->y - 1;
   160         }
   160         }
   161     }
   161     }
   162 }
   162 }
   163 
   163