Be sure to compile without OpenGL enabled
authorPatrice Mandin <patmandin@gmail.com>
Sat, 04 Dec 2004 10:31:16 +0000
changeset 1004 d1cd674b2ecd
parent 1003 ece5ab8acd1c
child 1005 2ab1cb02a44e
Be sure to compile without OpenGL enabled
src/video/ataricommon/SDL_atarigl_c.h
--- 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 */