option.
It should have been OR instead of AND operator.
When the image object alpha is on "OR" the rotation angle
is not "0", direct rendering isn't allowed. However,
allow direct rendering if EVAS_GL_DIRECT_OVERRIDE=1 is set.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67521
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
// Normally direct rendering isn't allowed if alpha is on and
// rotation is not 0. BUT, if override is on, allow it.
- if ((has_alpha) && (re->win->gl_context->rot!=0))
+ if ((has_alpha) || (re->win->gl_context->rot!=0))
{
if (gl_direct_override)
gl_direct_img_obj = image;