forked from enlightenment/efl
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>
This commit is contained in:
parent
3cd0f33e1b
commit
c727ab8088
|
@ -383,6 +383,9 @@ _pool_tex_render_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, in
|
||||||
# ifndef GL_COLOR_ATTACHMENT0
|
# ifndef GL_COLOR_ATTACHMENT0
|
||||||
# define GL_COLOR_ATTACHMENT0 GL_COLOR_ATTACHMENT0_OES
|
# define GL_COLOR_ATTACHMENT0 GL_COLOR_ATTACHMENT0_OES
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef GL_DRAW_FRAMEBUFFER_BINDING
|
||||||
|
# define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifndef GL_FRAMEBUFFER
|
# ifndef GL_FRAMEBUFFER
|
||||||
# define GL_FRAMEBUFFER GL_FRAMEBUFFER_EXT
|
# define GL_FRAMEBUFFER GL_FRAMEBUFFER_EXT
|
||||||
|
|
Loading…
Reference in New Issue