diff src/video/ataricommon/SDL_atarigl_c.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 2ab1cb02a44e
children d910939febfa
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarigl_c.h	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/ataricommon/SDL_atarigl_c.h	Thu Feb 16 10:11:48 2006 +0000
@@ -25,11 +25,13 @@
 #ifndef _SDL_ATARIGL_H_
 #define _SDL_ATARIGL_H_
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 #include <GL/osmesa.h>
 #endif
 
-#include "SDL_sysvideo.h"
+#include "../SDL_sysvideo.h"
+
+/* Hidden "this" pointer for the video functions */
 #define _THIS   SDL_VideoDevice *this
 
 struct SDL_PrivateGLData {
@@ -50,7 +52,7 @@
 	/* to convert the shadow buffer to the screen format */
 	void (*CopyShadow)(_THIS, SDL_Surface *surface);	
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 	OSMesaContext	ctx;
 
 	/* OpenGL functions */