From e1166904f63bce1dff052fcbaa7506d8a986514b Mon Sep 17 00:00:00 2001 From: Mandrake Date: Wed, 3 Jan 2001 05:48:54 +0000 Subject: [PATCH] If you don't have GL installed at all, this wouldn't compile. Fixed with a couple of #ifdef's SVN revision: 4084 --- legacy/evas/src/evas_gl_routines.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legacy/evas/src/evas_gl_routines.h b/legacy/evas/src/evas_gl_routines.h index 506c7c968b..e2ded7cc58 100644 --- a/legacy/evas/src/evas_gl_routines.h +++ b/legacy/evas/src/evas_gl_routines.h @@ -75,8 +75,10 @@ struct _evas_gl_context int active; int x, y, w, h; } clip; +#ifdef HAVE_GL GLenum read_buf; GLenum write_buf; +#endif Evas_GL_Texture *bound_texture; int max_texture_depth; @@ -91,7 +93,9 @@ struct _evas_gl_rect struct _evas_gl_texture { int w, h; +#ifdef HAVE_GL GLuint texture; +#endif int smooth; };