diff 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
line wrap: on
line diff
--- a/src/video/maccommon/SDL_lowvideo.h	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/maccommon/SDL_lowvideo.h	Thu Feb 16 10:11:48 2006 +0000
@@ -34,7 +34,7 @@
 #include <DrawSprocket.h>
 #endif
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 #ifdef MACOSX
 #include <OpenGL/gl.h> /* OpenGL.framework */
 #include <AGL/agl.h>   /* AGL.framework */
@@ -42,10 +42,10 @@
 #include <GL/gl.h>
 #include <agl.h>
 #endif /* MACOSX */
-#endif /* HAVE_OPENGL */
+#endif /* SDL_VIDEO_OPENGL */
 
 #include "SDL_video.h"
-#include "SDL_sysvideo.h"
+#include "../SDL_sysvideo.h"
 
 /* Hidden "this" pointer for the video functions */
 #define _THIS	SDL_VideoDevice *this
@@ -84,7 +84,7 @@
 	/* Information used by DrawSprocket driver */
 	struct DSpInfo *dspinfo;
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 	AGLContext appleGLContext;
 
 	void *libraryHandle;