summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-03 12:06:55 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:42:52 -0500
commit1cbb0b215210c897b82f58c572052aa9e00c4b77 (patch)
tree90116e5f87560d111bc2e14e2751e5d72aea2036
parent9a0965ff02685c0343bd12a4b572615ee09e0f70 (diff)
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
-rw-r--r--src/bin/e_pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 4d2881407..b6fda2531 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -898,7 +898,7 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
898#endif 898#endif
899 case E_PIXMAP_TYPE_WL: 899 case E_PIXMAP_TYPE_WL:
900#ifdef HAVE_WAYLAND 900#ifdef HAVE_WAYLAND
901 return ((cp->buffer != NULL) && (cp->image_argb)); 901 return cp->image_argb;
902#endif 902#endif
903 default: break; 903 default: break;
904 } 904 }