Revert "iconcache: Support 16bit icons"

This reverts commit b95d7e8276.

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
This commit is contained in:
Ray Strode 2019-08-05 14:50:04 -04:00 committed by Jonas Ådahl
parent cd0990c581
commit 1a5cba5df5

View File

@ -297,7 +297,6 @@ standard_pict_format_for_depth (int depth)
return PictStandardA1; return PictStandardA1;
case 24: case 24:
return PictStandardRGB24; return PictStandardRGB24;
case 16:
case 32: case 32:
return PictStandardARGB32; return PictStandardARGB32;
default: default: