devilhorns pushed a commit to branch master.
commit c727ab8088a7aef2d5a33271c1efa37716d0da6c
Author: Chris Michael <[email protected]>
Date: Sun May 19 07:13:03 2013 +0100
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 <[email protected]>
---
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 33cd8d5..664ee3d 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
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d