determine wl pixmap argb solely based on image_argb flag

the existence of a buffer does not mean that the pixmap can stop being
argb

fixes random black rects
This commit is contained in:
Mike Blumenkrantz 2016-11-03 12:06:55 -04:00
parent 33740ca306
commit e3590f6c3e
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
#endif
case E_PIXMAP_TYPE_WL:
#ifdef HAVE_WAYLAND
return ((cp->buffer != NULL) && (cp->image_argb));
return cp->image_argb;
#endif
default: break;
}