If you don't have GL installed at all, this wouldn't compile.

Fixed with a couple of #ifdef's


SVN revision: 4084
This commit is contained in:
Mandrake 2001-01-03 05:48:54 +00:00
parent cacfc4d7a1
commit e1166904f6
1 changed files with 4 additions and 0 deletions

View File

@ -75,8 +75,10 @@ struct _evas_gl_context
int active; int active;
int x, y, w, h; int x, y, w, h;
} clip; } clip;
#ifdef HAVE_GL
GLenum read_buf; GLenum read_buf;
GLenum write_buf; GLenum write_buf;
#endif
Evas_GL_Texture *bound_texture; Evas_GL_Texture *bound_texture;
int max_texture_depth; int max_texture_depth;
@ -91,7 +93,9 @@ struct _evas_gl_rect
struct _evas_gl_texture struct _evas_gl_texture
{ {
int w, h; int w, h;
#ifdef HAVE_GL
GLuint texture; GLuint texture;
#endif
int smooth; int smooth;
}; };