Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzWM.m @ 4204:976bc19f8f6b SDL-1.2
1.2 Quartz video: Ripped out QuickDraw and QuickTime.
Now we use the software path for YUV, and CoreGraphics for 2D stuff.
There are several other 10.6 fixes in here, too...now we can build a 64-bit
SDL for Snow Leopard!
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 21 Sep 2009 06:08:23 +0000 |
parents | a1b03ba2fcd0 |
children | 2b8c1aea633b |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWM.m Mon Sep 21 04:34:22 2009 +0000 +++ b/src/video/quartz/SDL_QuartzWM.m Mon Sep 21 06:08:23 2009 +0000 @@ -171,11 +171,7 @@ else { *p = [ window_view convertPoint:*p toView: nil ]; - - /* We need a workaround in OpenGL mode */ - if ( SDL_VideoSurface->flags & SDL_OPENGL ) { - p->y = [window_view frame].size.height - p->y; - } + p->y = [window_view frame].size.height - p->y; } } @@ -189,11 +185,7 @@ else { *p = [ window_view convertPoint:*p fromView: nil ]; - - /* We need a workaround in OpenGL mode */ - if ( SDL_VideoSurface != NULL && (SDL_VideoSurface->flags & SDL_OPENGL) ) { - p->y = [window_view frame].size.height - p->y; - } + p->y = [window_view frame].size.height - p->y; } }