Evas: Reduce verbosity of alpha functions

And remove commented-out code.
This commit is contained in:
Jean-Philippe Andre 2014-03-07 11:00:26 +09:00
parent 5a77d1aae0
commit 182eaad43d
1 changed files with 0 additions and 9 deletions

View File

@ -65,21 +65,12 @@ EVAS_RENDER_MUL = 11, /**< d = d*s */
Alpha_Gfx_Func
evas_common_alpha_func_get(int op)
{
INF("Requesting alpha function with OP %d", op);
switch (op)
{
case EVAS_RENDER_BLEND:
return _alpha_func_blend;
// case EVAS_RENDER_BLEND_REL:
case EVAS_RENDER_COPY:
return _alpha_func_copy;
// case EVAS_RENDER_COPY_REL:
// case EVAS_RENDER_ADD:
// case EVAS_RENDER_ADD_REL:
// case EVAS_RENDER_SUB:
// case EVAS_RENDER_SUB_REL:
// case EVAS_RENDER_TINT:
// case EVAS_RENDER_TINT_REL:
case EVAS_RENDER_MASK:
case EVAS_RENDER_MUL:
return _alpha_func_mul;