diff src/video/gem/SDL_gemvideo.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 44fd54a0ae5f
children 8b1c83edcde2
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.h	Mon Nov 22 20:37:41 2004 +0000
+++ b/src/video/gem/SDL_gemvideo.h	Thu Nov 25 15:47:49 2004 +0000
@@ -28,10 +28,6 @@
 #ifndef _SDL_gemvideo_h
 #define _SDL_gemvideo_h
 
-#ifdef HAVE_OPENGL
-#include <GL/osmesa.h>
-#endif
-
 #include "SDL_sysvideo.h"
 #include "SDL_mutex.h"
 
@@ -89,10 +85,6 @@
 	SDL_bool fullscreen;		/* Fullscreen or windowed mode ? */
 	SDL_Rect *SDL_modelist[SDL_NUMMODES+1];	/* Mode list */
 	SDL_Surface *icon;			/* The icon */
-
-#ifdef HAVE_OPENGL
-	OSMesaContext	ctx;		/* OSMesa OpenGL context */
-#endif
 };
 
 /* Hidden structure -> variables names */
@@ -139,8 +131,6 @@
 #define GEM_buffer2			(this->hidden->buffer2)
 #define GEM_bufops			(this->hidden->buf2scr_ops)
 
-#define GEM_ctx				(this->hidden->ctx)
-
 #define VDI_FBMASK(amask, rmask, gmask, bmask) \
 	VDI_alphamask = (amask); \
 	VDI_redmask = (rmask); \