mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Be sure to compile without OpenGL enabled
This commit is contained in:
parent
10a29a52df
commit
2085c82819
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user