changeset 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 ece5ab8acd1c
children 2ab1cb02a44e
files src/video/ataricommon/SDL_atarigl_c.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 */