summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-11-17 17:57:18 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-11-17 18:04:43 +0900
commite11bdbafa26e00cbfc3210fd6a1614c0180dfa05 (patch)
tree8b82172ce2cbccf2e459e56afd5972aecbac6ae4
parent12292183d04648cf0d56710b5aeea7cad02eebc4 (diff)
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
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core.c6
1 files changed, 0 insertions, 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 25985cfb97..e6f8460e9d 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)
2683 if (rsc->direct.partial.enabled) 2683 if (rsc->direct.partial.enabled)
2684 evgl_direct_partial_render_end(); 2684 evgl_direct_partial_render_end();
2685 2685
2686 if (sfc->color_buf)
2687 {
2688 if (!_surface_buffers_fbo_set(sfc, sfc->color_buf, ctx->version))
2689 ERR("Could not detach current FBO");
2690 }
2691
2692 // Bind to the previously bound buffer (may be 0) 2686 // Bind to the previously bound buffer (may be 0)
2693 if (ctx->version == EVAS_GL_GLES_3_X) 2687 if (ctx->version == EVAS_GL_GLES_3_X)
2694 { 2688 {