From 5a72c9b2a29e7d7136adb7eb65d503959022402d Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 13 Nov 2009 12:31:31 +0000 Subject: [PATCH] fix gles symbols git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@43662 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/gl_common/evas_gl_texture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/engines/gl_common/evas_gl_texture.c b/src/modules/engines/gl_common/evas_gl_texture.c index ccd538b..eb74e78 100644 --- a/src/modules/engines/gl_common/evas_gl_texture.c +++ b/src/modules/engines/gl_common/evas_gl_texture.c @@ -292,8 +292,8 @@ _pool_tex_render_new(Evas_GL_Context *gc, int w, int h, int intformat, int forma _tex_2d(pt->intformat, w, h, pt->format, pt->dataformat); glGenFramebuffers(1, &(pt->fb)); glBindFramebuffer(GL_FRAMEBUFFER, pt->fb); - glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, pt->texture, 0); - glBindFramebufferEXT(GL_FRAMEBUFFER, 0); + glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, pt->texture, 0); + glBindFramebuffer(GL_FRAMEBUFFER, 0); glBindTexture(GL_TEXTURE_2D, gc->shader.cur_tex); return pt; } @@ -393,7 +393,7 @@ pt_unref(Evas_GL_Texture_Pool *pt) eina_list_remove(pt->gc->shared->tex.atlas[pt->slot][pt->fslot], pt); } glDeleteTextures(1, &(pt->texture)); - if (pt->fb) glDeleteFramebuffersEXT(1, &(pt->fb)); + if (pt->fb) glDeleteFramebuffers(1, &(pt->fb)); free(pt); } -- 2.7.4