Commit 983d7d81 authored by Patrice Mandin's avatar Patrice Mandin

Be sure to compile without OpenGL enabled

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401005
parent c26aab97
...@@ -48,6 +48,7 @@ struct SDL_PrivateGLData { ...@@ -48,6 +48,7 @@ struct SDL_PrivateGLData {
/* to convert the shadow buffer to the screen format */ /* to convert the shadow buffer to the screen format */
void (*CopyShadow)(_THIS, SDL_Surface *surface); void (*CopyShadow)(_THIS, SDL_Surface *surface);
#ifdef HAVE_OPENGL
OSMesaContext ctx; OSMesaContext ctx;
/* OpenGL functions */ /* OpenGL functions */
...@@ -70,6 +71,7 @@ struct SDL_PrivateGLData { ...@@ -70,6 +71,7 @@ struct SDL_PrivateGLData {
int width, height; int width, height;
GLenum format; GLenum format;
GLint depth,stencil,accum; GLint depth,stencil,accum;
#endif
}; };
/* Variable names */ /* Variable names */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment