comparison src/video/maccommon/SDL_lowvideo.h @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c9b51268668f
children d910939febfa
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
32 #include <Palettes.h> 32 #include <Palettes.h>
33 #include <Menus.h> 33 #include <Menus.h>
34 #include <DrawSprocket.h> 34 #include <DrawSprocket.h>
35 #endif 35 #endif
36 36
37 #ifdef HAVE_OPENGL 37 #if SDL_VIDEO_OPENGL
38 #ifdef MACOSX 38 #ifdef MACOSX
39 #include <OpenGL/gl.h> /* OpenGL.framework */ 39 #include <OpenGL/gl.h> /* OpenGL.framework */
40 #include <AGL/agl.h> /* AGL.framework */ 40 #include <AGL/agl.h> /* AGL.framework */
41 #else 41 #else
42 #include <GL/gl.h> 42 #include <GL/gl.h>
43 #include <agl.h> 43 #include <agl.h>
44 #endif /* MACOSX */ 44 #endif /* MACOSX */
45 #endif /* HAVE_OPENGL */ 45 #endif /* SDL_VIDEO_OPENGL */
46 46
47 #include "SDL_video.h" 47 #include "SDL_video.h"
48 #include "SDL_sysvideo.h" 48 #include "../SDL_sysvideo.h"
49 49
50 /* Hidden "this" pointer for the video functions */ 50 /* Hidden "this" pointer for the video functions */
51 #define _THIS SDL_VideoDevice *this 51 #define _THIS SDL_VideoDevice *this
52 52
53 #if !TARGET_API_MAC_CARBON /* not available in OS X (or more accurately, Carbon) */ 53 #if !TARGET_API_MAC_CARBON /* not available in OS X (or more accurately, Carbon) */
82 MenuRef apple_menu; 82 MenuRef apple_menu;
83 83
84 /* Information used by DrawSprocket driver */ 84 /* Information used by DrawSprocket driver */
85 struct DSpInfo *dspinfo; 85 struct DSpInfo *dspinfo;
86 86
87 #ifdef HAVE_OPENGL 87 #if SDL_VIDEO_OPENGL
88 AGLContext appleGLContext; 88 AGLContext appleGLContext;
89 89
90 void *libraryHandle; 90 void *libraryHandle;
91 #endif 91 #endif
92 }; 92 };