summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-03-22 20:28:45 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-22 20:30:27 +0900
commitf556cd1328c502d1778e883b095a5a184892e538 (patch)
tree5d78bb9128c22b9de524dde57384233d21a09c2f
parent939669d6cef000af584fb2d1896de0788b580acd (diff)
downloadefl-f556cd1328c502d1778e883b095a5a184892e538.tar.gz
evas/gl - don't set blend function in RENDER COPY mode.
it's enough that just disabling the blend mode.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c
index 79e33fefb3..182207ba49 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -2771,8 +2771,9 @@ shader_array_flush(Evas_Engine_GL_Context *gc)
break;
case EVAS_RENDER_COPY: /**< d = s */
gc->pipe[i].shader.blend = 0;
- glBlendFunc(GL_ONE, GL_ONE);
- GLERR(__FUNCTION__, __FILE__, __LINE__, "");
+ // just disable blend mode. no need to set blend func
+ //glBlendFunc(GL_ONE, GL_ONE);
+ //GLERR(__FUNCTION__, __FILE__, __LINE__, "");
break;
// FIXME: fix blend funcs below!
case EVAS_RENDER_BLEND_REL: /**< d = d*(1 - sa) + s*da */