src/video/ataricommon/SDL_atarigl_c.h
changeset 1361 19418e4422cb
parent 1005 2ab1cb02a44e
child 1402 d910939febfa
     1.1 --- a/src/video/ataricommon/SDL_atarigl_c.h	Fri Feb 10 07:29:08 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_atarigl_c.h	Thu Feb 16 10:11:48 2006 +0000
     1.3 @@ -25,11 +25,13 @@
     1.4  #ifndef _SDL_ATARIGL_H_
     1.5  #define _SDL_ATARIGL_H_
     1.6  
     1.7 -#ifdef HAVE_OPENGL
     1.8 +#if SDL_VIDEO_OPENGL
     1.9  #include <GL/osmesa.h>
    1.10  #endif
    1.11  
    1.12 -#include "SDL_sysvideo.h"
    1.13 +#include "../SDL_sysvideo.h"
    1.14 +
    1.15 +/* Hidden "this" pointer for the video functions */
    1.16  #define _THIS   SDL_VideoDevice *this
    1.17  
    1.18  struct SDL_PrivateGLData {
    1.19 @@ -50,7 +52,7 @@
    1.20  	/* to convert the shadow buffer to the screen format */
    1.21  	void (*CopyShadow)(_THIS, SDL_Surface *surface);	
    1.22  
    1.23 -#ifdef HAVE_OPENGL
    1.24 +#if SDL_VIDEO_OPENGL
    1.25  	OSMesaContext	ctx;
    1.26  
    1.27  	/* OpenGL functions */