[mutter/wip/another-16bpp-crasher: 1/2] Revert "iconcache: Support	16bit icons"
- From: Ray Strode <halfline src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [mutter/wip/another-16bpp-crasher: 1/2] Revert "iconcache: Support	16bit icons"
 
- Date: Mon,  5 Aug 2019 18:56:45 +0000 (UTC)
 
commit bc0e60ebcc8b0746f6564162fc210844fc92e70d
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]