forked from enlightenment/enlightenment
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:
parent
33740ca306
commit
e3590f6c3e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue