evas/gl - don't set blend function in RENDER COPY mode.

it's enough that just disabling the blend mode.
This commit is contained in:
ChunEon Park 2014-03-22 20:28:45 +09:00
parent 939669d6ce
commit f556cd1328
1 changed files with 3 additions and 2 deletions

View File

@ -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 */