diff options
author | Chris Michael <devilhorns@comcast.net> | 2013-05-19 07:13:03 +0100 |
---|---|---|
committer | Chris Michael <devilhorns@comcast.net> | 2013-05-19 07:13:03 +0100 |
commit | c727ab8088a7aef2d5a33271c1efa37716d0da6c (patch) | |
tree | ef930d2fdf354a8c122d844875b8a6d679f846ff | |
parent | 3cd0f33e1b1e046f8bb78049fc0e6a7b7ea7a02b (diff) | |
download | efl-c727ab8088a7aef2d5a33271c1efa37716d0da6c.tar.gz |
Fix antognolli build break when --with-opengl=es.
Basically, EGL does not define a GL_DRAW_FRAMEBUFFER_BINDING so we
test for that and if not found then define it to be
GL_FRAMEBUFFER_BINDING
Signed-off-by: Chris Michael <devilhorns@comcast.net>
-rw-r--r-- | src/modules/evas/engines/gl_common/evas_gl_texture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c index 33cd8d50c3..664ee3d85b 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_texture.c +++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c @@ -383,6 +383,9 @@ _pool_tex_render_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, in # ifndef GL_COLOR_ATTACHMENT0 # define GL_COLOR_ATTACHMENT0 GL_COLOR_ATTACHMENT0_OES # endif +# ifndef GL_DRAW_FRAMEBUFFER_BINDING +# define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING +# endif #else # ifndef GL_FRAMEBUFFER # define GL_FRAMEBUFFER GL_FRAMEBUFFER_EXT |