forked from enlightenment/efl
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:
parent
cacfc4d7a1
commit
e1166904f6
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue