evas: Fix shader for text masking

Fixes T4338

@fix
This commit is contained in:
Jean-Philippe Andre 2016-08-12 11:09:16 +09:00
parent 4e00d5a71f
commit ad4c92ceeb
1 changed files with 3 additions and 3 deletions

View File

@ -808,13 +808,13 @@ evas_gl_common_shader_flags_get(Evas_GL_Shared *shared, Shader_Type type,
}
}
if (mtex)
flags |= SHADER_FLAG_MASK;
if (bgra)
flags |= SHADER_FLAG_BGRA;
end:
if (mtex)
flags |= SHADER_FLAG_MASK;
if (psam) *psam = sam;
if (pnomul) *pnomul = nomul;
if (pmasksam) *pmasksam = masksam;