From c727ab8088a7aef2d5a33271c1efa37716d0da6c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Sun, 19 May 2013 07:13:03 +0100 Subject: [PATCH] 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 --- src/modules/evas/engines/gl_common/evas_gl_texture.c | 3 +++ 1 file changed, 3 insertions(+) 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