From 933d386fbf28977b62ab131144d65f88f22df42a Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Sat, 4 Dec 2004 10:31:16 +0000 Subject: [PATCH] Be sure to compile without OpenGL enabled --- src/video/ataricommon/SDL_atarigl_c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/ataricommon/SDL_atarigl_c.h b/src/video/ataricommon/SDL_atarigl_c.h index 6a7b79609..664765b4e 100644 --- a/src/video/ataricommon/SDL_atarigl_c.h +++ b/src/video/ataricommon/SDL_atarigl_c.h @@ -48,6 +48,7 @@ struct SDL_PrivateGLData { /* 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 @@ struct SDL_PrivateGLData { int width, height; GLenum format; GLint depth,stencil,accum; +#endif }; /* Variable names */