jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e11bdbafa26e00cbfc3210fd6a1614c0180dfa05

commit e11bdbafa26e00cbfc3210fd6a1614c0180dfa05
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Nov 17 17:57:18 2015 +0900

    Evas GL: Remove invalid call inside make current pbuffer
    
    There was some confusion as color_buf is a texture but it was used
    as an fbo. Not sure was this call was for.
    
    @fix
---
 src/modules/evas/engines/gl_common/evas_gl_core.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c 
b/src/modules/evas/engines/gl_common/evas_gl_core.c
index 25985cf..e6f8460 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -2683,12 +2683,6 @@ evgl_make_current(void *eng_data, EVGL_Surface *sfc, 
EVGL_Context *ctx)
              if (rsc->direct.partial.enabled)
                evgl_direct_partial_render_end();
 
-             if (sfc->color_buf)
-               {
-                  if (!_surface_buffers_fbo_set(sfc, sfc->color_buf, 
ctx->version))
-                    ERR("Could not detach current FBO");
-               }
-
              // Bind to the previously bound buffer (may be 0)
              if (ctx->version == EVAS_GL_GLES_3_X)
                {

-- 


Reply via email to