diff src/video/ataricommon/SDL_atarigl_c.h @ 1004:d1cd674b2ecd

Be sure to compile without OpenGL enabled
author Patrice Mandin <patmandin@gmail.com>
date Sat, 04 Dec 2004 10:31:16 +0000
parents 22fc5f45bbb7
children 2ab1cb02a44e
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarigl_c.h	Thu Dec 02 23:00:28 2004 +0000
+++ b/src/video/ataricommon/SDL_atarigl_c.h	Sat Dec 04 10:31:16 2004 +0000
@@ -48,6 +48,7 @@
 	/* to convert the shadow buffer to the screen format */
 	void (*CopyShadow)(_THIS, SDL_Surface *surface);	
 
+#ifdef HAVE_OPENGL
 	OSMesaContext	ctx;
 
 	/* OpenGL functions */
@@ -70,6 +71,7 @@
 	int width, height;
 	GLenum format;
 	GLint depth,stencil,accum;
+#endif
 };
 
 /* Variable names */