diff src/video/quartz/SDL_QuartzWM.m @ 1658:e49147870aac SDL-1.3

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents ef4a796e7f24
children 14717b52abc0
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWM.m	Fri Apr 28 16:55:41 2006 +0000
+++ b/src/video/quartz/SDL_QuartzWM.m	Mon May 01 06:58:33 2006 +0000
@@ -147,7 +147,7 @@
         *p = [ window_view convertPoint:*p toView: nil ];
         
         /* We need a workaround in OpenGL mode */
-        if ( SDL_VideoSurface->flags & SDL_OPENGL ) {
+        if ( SDL_VideoSurface->flags & SDL_INTERNALOPENGL ) {
             p->y = [window_view frame].size.height - p->y;
         }
     }
@@ -165,7 +165,7 @@
         *p = [ window_view convertPoint:*p fromView: nil ];
         
         /* We need a workaround in OpenGL mode */
-        if ( SDL_VideoSurface != NULL && (SDL_VideoSurface->flags & SDL_OPENGL) ) {
+        if ( SDL_VideoSurface != NULL && (SDL_VideoSurface->flags & SDL_INTERNALOPENGL) ) {
             p->y = [window_view frame].size.height - p->y;
         }
     }