summaryrefslogtreecommitdiff
path: root/src
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 /src
parent939669d6cef000af584fb2d1896de0788b580acd (diff)
evas/gl - don't set blend function in RENDER COPY mode.
it's enough that just disabling the blend mode.
Diffstat (limited to 'src')
-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 79e33fe..182207b 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)
2771 break; 2771 break;
2772 case EVAS_RENDER_COPY: /**< d = s */ 2772 case EVAS_RENDER_COPY: /**< d = s */
2773 gc->pipe[i].shader.blend = 0; 2773 gc->pipe[i].shader.blend = 0;
2774 glBlendFunc(GL_ONE, GL_ONE); 2774 // just disable blend mode. no need to set blend func
2775 GLERR(__FUNCTION__, __FILE__, __LINE__, ""); 2775 //glBlendFunc(GL_ONE, GL_ONE);
2776 //GLERR(__FUNCTION__, __FILE__, __LINE__, "");
2776 break; 2777 break;
2777 // FIXME: fix blend funcs below! 2778 // FIXME: fix blend funcs below!
2778 case EVAS_RENDER_BLEND_REL: /**< d = d*(1 - sa) + s*da */ 2779 case EVAS_RENDER_BLEND_REL: /**< d = d*(1 - sa) + s*da */