[mutter/wip/another-16bpp-crasher: 16/17] Revert "iconcache: Support 16bit icons"



commit 7a120d27aea26d8725fab767dcd791c1e2df7e8c
Author: Ray Strode <rstrode redhat com>
Date:   Mon Aug 5 14:50:04 2019 -0400

    Revert "iconcache: Support 16bit icons"
    
    This reverts commit b95d7e8276e31a3414ec4d5ee13191c3f253fa1c.
    
    It's poisoning cairo's GC cache with a GC that has the wrong
    colordepth, leading to a crash in unrelated code later on.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/715

 src/x11/iconcache.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c
index 69d4d14f3..15d72da65 100644
--- a/src/x11/iconcache.c
+++ b/src/x11/iconcache.c
@@ -297,7 +297,6 @@ standard_pict_format_for_depth (int depth)
       return PictStandardA1;
     case 24:
       return PictStandardRGB24;
-    case 16:
     case 32:
       return PictStandardARGB32;
     default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]