diff --git a/gdk/gdkcolorstate.c b/gdk/gdkcolorstate.c index 982816267c..36bf71cfbc 100644 --- a/gdk/gdkcolorstate.c +++ b/gdk/gdkcolorstate.c @@ -623,6 +623,9 @@ gdk_named_color_state_get_min_depth (GdkColorState *self) case GDK_COLOR_STATE_ID_SRGB_LINEAR: return GDK_MEMORY_FLOAT16; + /* We want to use fast paths for the common srgb-linear / srgb case, + * which needs u8 framebuffers + */ case GDK_COLOR_STATE_ID_SRGB: return GDK_MEMORY_U8;