diff src/video/xbios/SDL_xbios.h @ 989:475166d13b44

Factorize OSMesa OpenGL code for Atari drivers
author Patrice Mandin <patmandin@gmail.com>
date Thu, 25 Nov 2004 15:47:49 +0000
parents 3b1ba22f5a28
children 0e7218843cfb
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.h	Mon Nov 22 20:37:41 2004 +0000
+++ b/src/video/xbios/SDL_xbios.h	Thu Nov 25 15:47:49 2004 +0000
@@ -28,10 +28,6 @@
 #ifndef _SDL_xbios_h
 #define _SDL_xbios_h
 
-#ifdef HAVE_OPENGL
-#include <GL/osmesa.h>
-#endif
-
 #include "SDL_types.h"
 #include "SDL_sysvideo.h"
 
@@ -73,9 +69,6 @@
 	int frame_number;		/* Number of frame for double buffer */
 	int pitch;				/* Destination line width for C2P */
 	int width, height;		/* Screen size for centered C2P */
-#ifdef HAVE_OPENGL
-	OSMesaContext ctx;		/* OpenGL OSMesa context */
-#endif
 
 	SDL_Rect *SDL_modelist[NUM_MODELISTS][SDL_NUMMODES+1];
 	xbiosmode_t *videomodes[NUM_MODELISTS][SDL_NUMMODES+1];
@@ -130,8 +123,5 @@
 #define XBIOS_pitch			(this->hidden->pitch)
 #define XBIOS_width			(this->hidden->width)
 #define XBIOS_height		(this->hidden->height)
-#ifdef HAVE_OPENGL
-#define XBIOS_ctx			(this->hidden->ctx)
-#endif
 
 #endif /* _SDL_xbios_h */